Skip to content

Commit

Permalink
fix: text alignment in image dscr
Browse files Browse the repository at this point in the history
  • Loading branch information
AloisSeckar committed Feb 24, 2024
1 parent 2de4948 commit 945c2bc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions components/item/Image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@
</span>
</div>
<div class="box-content text-center">
<div v-if="item.dscr" class="mb-2 text-justify html-content" v-html="item.dscr" />
<div v-else class="text-justify mb-2 italic">
{{ $t('images.no-dscr') }}
<div class="text-left sm:text-justify">
<div v-if="item.dscr" class="mb-2 html-content" v-html="item.dscr" />
<div v-else class="mb-2 italic">
{{ $t('images.no-dscr') }}
</div>
</div>
<hr class="mb-2">
<ItemImageNav :item="item" :editable="editable" />
Expand Down

0 comments on commit 945c2bc

Please sign in to comment.