Skip to content

Commit

Permalink
Update description to div tag advplyr#3880
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Jan 25, 2025
1 parent a4d0f95 commit e096da1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/pages/item/_id/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
</div>

<div class="my-4 w-full">
<p ref="description" id="item-description" dir="auto" class="default-style less-spacing text-base text-gray-100 whitespace-pre-line mb-1" :class="{ 'show-full': showFullDescription }" v-html="description" />
<div ref="description" id="item-description" dir="auto" class="default-style less-spacing text-base text-gray-100 whitespace-pre-line mb-1" :class="{ 'show-full': showFullDescription }" v-html="description" />

<button v-if="isDescriptionClamped" class="py-0.5 flex items-center text-slate-300 hover:text-white" @click="showFullDescription = !showFullDescription">{{ showFullDescription ? $strings.ButtonReadLess : $strings.ButtonReadMore }} <span class="material-symbols text-xl pl-1" v-html="showFullDescription ? 'expand_less' : '&#xe313;'" /></button>
</div>

Expand Down

0 comments on commit e096da1

Please sign in to comment.