+ wishlist item multoiline description
This commit is contained in:
@@ -423,7 +423,7 @@ onMounted(async () => {
|
||||
<div class="flex flex-col justify-between gap-2 h-full">
|
||||
<div class="flex flex-col gap-2">
|
||||
<div class="flex flex-row w-full justify-between">
|
||||
<p class="font-semibold text-xl text-gray-700">{{ item.name }}</p>
|
||||
<p class="font-semibold text-xl line-clamp-2 text-gray-700">{{ item.name }}</p>
|
||||
<div v-if="wishlist.owner.id==userStore.user.id" class="flex flex-row gap-2">
|
||||
<button @click="editingItem=item;wishlistItemCreationOpened=true"><i
|
||||
class="pi pi-pen-to-square"/>
|
||||
@@ -433,7 +433,7 @@ onMounted(async () => {
|
||||
</div>
|
||||
</div>
|
||||
<p class="font-bold text-lg text-blue-700">{{ formatAmount(item.price) }} ₽</p>
|
||||
<p class="font-light text-gray-700 text-wrap">{{ item.description }}</p>
|
||||
<p class="font-light text-gray-700 text-wrap whitespace-pre-wrap">{{ item.description }}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -538,7 +538,7 @@ onMounted(async () => {
|
||||
</div>
|
||||
</div>
|
||||
<p class="font-bold text-lg text-blue-700">{{ formatAmount(item.price) }} ₽</p>
|
||||
<p class="font-light text-gray-700 text-wrap">{{ item.description }}</p>
|
||||
<p class="font-light text-gray-700 text-wrap whitespace-pre-wrap">{{ item.description }}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user