Merge branch 'mediadb-figure'

This commit is contained in:
Matthias Mees 2019-04-27 13:12:10 +02:00
commit 34bf25066c
2 changed files with 6 additions and 5 deletions

@ -364,10 +364,10 @@
if ($('#serendipity_imagecomment').val() != '') {
var comment = f['serendipity[imagecomment]'].value;
var img = '<div class="serendipity_imageComment_' + floating + '" style="width: ' + imgWidth + 'px">'
var img = '<figure class="serendipity_imageComment_' + floating + '" style="width: ' + imgWidth + 'px">'
+ '<div class="serendipity_imageComment_img">' + img + '</div>'
+ '<div class="serendipity_imageComment_txt">' + comment + '</div>'
+ '</div>';
+ '<figcaption class="serendipity_imageComment_txt">' + comment + '</figcaption>'
+ '</figure>';
}
if (parent.self.opener.serendipity == undefined) {

@ -40,6 +40,7 @@
}
.serendipity_imageComment_center {
clear: both;
margin: auto;
}