Fix lightbox comment alignment

This commit is contained in:
2026-01-11 16:31:28 +01:00
parent 975a8039b3
commit 8ca5fa2d53
2 changed files with 1 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ export default {
</a> </a>
<div style="display:none"> <div style="display:none">
<span ref="comment" class="lb-caption-line comment desktop" :title="options.comment"> <span ref="comment" class="lb-caption-line comment desktop" :title="options.comment">
<spotIcon :icon="'post'" :classes="'fa-lg fa-fw'" /> <spotIcon :icon="'post'" :classes="'fa-lg fa-fw push'" />
<span class="comment-text">{{ options.comment }}</span> <span class="comment-text">{{ options.comment }}</span>
</span> </span>
<span ref="postedon" class="lb-caption-line" :title="$parent.timeDiff?spot.lang('local_time', options.posted_on_formatted_local):''"> <span ref="postedon" class="lb-caption-line" :title="$parent.timeDiff?spot.lang('local_time', options.posted_on_formatted_local):''">

View File

@@ -76,10 +76,6 @@
line-height: 1.33333333em; line-height: 1.33333333em;
&.comment { &.comment {
.fa {
vertical-align: text-bottom;
}
.comment-text { .comment-text {
display: inline-block; display: inline-block;
width: calc(100% - 1.25em*1.33333333333 - 0.5rem); width: calc(100% - 1.25em*1.33333333333 - 0.5rem);