fix: long title and description for expansion not showing

Fixes #1948
zio/stable
patak 2023-04-29 22:57:26 +02:00
parent 8b8de1182c
commit c7b77216c1
1 changed files with 3 additions and 3 deletions

View File

@ -19,16 +19,16 @@ defineProps<{
root ? 'flex-gap-1' : 'justify-center sm:justify-start', 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 }} {{ provider }}
</p> </p>
<strong <strong
v-if="card.title" font-normal sm:font-medium line-clamp-1 v-if="card.title" font-normal sm:font-medium line-clamp-1
break-all ws-pre-wrap break-all
>{{ card.title }}</strong> >{{ card.title }}</strong>
<p <p
v-if="card.description" 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 }} {{ card.description }}
</p> </p>