fix: adjust padding and add line clamping to codice display in CardAnnuncio
This commit is contained in:
parent
ba4debdd1d
commit
8159519c75
1 changed files with 2 additions and 2 deletions
|
|
@ -337,11 +337,11 @@ export const CardAnnuncio = ({
|
||||||
>
|
>
|
||||||
Affitto {tipo}
|
Affitto {tipo}
|
||||||
</Badge>
|
</Badge>
|
||||||
<div className="flex flex-row justify-between gap-3 px-4">
|
<div className="flex flex-row justify-between gap-3 px-2">
|
||||||
<div className="w-full text-center">
|
<div className="w-full text-center">
|
||||||
<span className="sr-only">{t.card.codice}</span>
|
<span className="sr-only">{t.card.codice}</span>
|
||||||
|
|
||||||
<span className="font-semibold text-destructive text-xl">
|
<span className="line-clamp-1 font-semibold text-destructive text-xl">
|
||||||
Cod: {codice}
|
Cod: {codice}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue