1
0

fix: long title and description for expansion not showing

Fixes #1948
This commit is contained in:
patak 2023-04-29 22:57:26 +02:00
parent 8b8de1182c
commit c7b77216c1

View File

@ -19,16 +19,16 @@ defineProps<{
root ? 'flex-gap-1' : 'justify-center sm:justify-start',
]"
>
<p text-secondary ws-pre-wrap break-all line-clamp-1>
<p text-secondary break-all line-clamp-1>
{{ provider }}
</p>
<strong
v-if="card.title" font-normal sm:font-medium line-clamp-1
break-all ws-pre-wrap
break-all
>{{ card.title }}</strong>
<p
v-if="card.description"
line-clamp-1 break-all sm:break-words text-secondary ws-pre-wrap :class="[root ? 'sm:line-clamp-2' : '']"
line-clamp-1 break-all sm:break-words text-secondary :class="[root ? 'sm:line-clamp-2' : '']"
>
{{ card.description }}
</p>