refactor(style): minor style fixes and improve

This commit is contained in:
ppoffice
2020-01-04 00:32:07 -05:00
parent 4d3fec581a
commit 4b899bb38a
11 changed files with 54 additions and 34 deletions

View File

@@ -9,7 +9,7 @@
if ($(this).parent('a').length === 0) {
$(this).wrap('<a class="gallery-item" href="' + $(this).attr('src') + '"></a>');
if (this.alt) {
$(this).after('<div class="has-text-centered is-size-6 has-text-grey caption">' + this.alt + '</div>');
$(this).after('<p class="has-text-centered is-size-6 caption">' + this.alt + '</p>');
}
}
});