Refactor CardAnnuncio component to improve title and address display with better styling and layout
This commit is contained in:
parent
9b44cad8eb
commit
e6515ea19d
1 changed files with 12 additions and 13 deletions
|
|
@ -143,11 +143,11 @@ const CardAnnuncio = ({
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="text-center">
|
|
||||||
<div className="mb-3 text-center">
|
<div className="mb-3 text-center">
|
||||||
<span className="sr-only">{t.card.titolo}</span>
|
<span className="sr-only">{t.card.titolo}</span>
|
||||||
|
|
||||||
<span className="text-base font-medium text-neutral-500 md:text-lg">
|
<span className="line-clamp-2 min-h-[3rem] text-base font-medium text-neutral-500 md:text-lg">
|
||||||
{titolo}
|
{titolo}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -159,7 +159,6 @@ const CardAnnuncio = ({
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="mt-4 flex items-center justify-around gap-2 text-xs">
|
<div className="mt-4 flex items-center justify-around gap-2 text-xs">
|
||||||
<div className="flex w-full items-center justify-center gap-2 rounded-md bg-neutral-100 py-3">
|
<div className="flex w-full items-center justify-center gap-2 rounded-md bg-neutral-100 py-3">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue