refactor: update CardAnnuncio image styling for conditional rounding and improve AutocompleteSearchBox background color
This commit is contained in:
parent
f4262b8711
commit
24b14fb3c1
2 changed files with 5 additions and 2 deletions
|
|
@ -218,7 +218,10 @@ export const CardAnnuncio = ({
|
|||
<ImageFlbk
|
||||
alt={t.card.alt_immagine}
|
||||
blurDataURL={`/storage-api/get/${img.thumb}?image=true`}
|
||||
className={"h-64 w-full bg-[#e6e9ec] object-cover"}
|
||||
className={cn(
|
||||
"h-64 w-full bg-[#e6e9ec] object-cover",
|
||||
(stato === "Trattativa" || homepage) && "rounded-[7px]",
|
||||
)}
|
||||
height={1080}
|
||||
priority={idx === 0}
|
||||
src={`/storage-api/get/${img.img}?image=true`}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ const AutocompleteSearchBox = ({
|
|||
<div className="z-[5000] w-full" ref={wrapperRef}>
|
||||
<div
|
||||
className={cn(
|
||||
"relative flex w-full items-center justify-center rounded-md bg-[color-mix(in_oklch,var(--fxd-secondary)50%,white)] dark:bg-primary",
|
||||
"relative flex w-full items-center justify-center rounded-md bg-secondary dark:bg-primary",
|
||||
|
||||
containerClassName,
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue