Browse Source

fix(currency-sheet): remove symbol subtitle under currency name

master
mortezaei 2 days ago
parent
commit
aafc61d205
  1. 29
      src/components/Componentes/currency-sheet.tsx

29
src/components/Componentes/currency-sheet.tsx

@ -225,24 +225,17 @@ export function CurrencySheet({
].join(" ")} ].join(" ")}
/> />
{/* Currency name and symbol */}
<div className="flex flex-col min-w-0">
<span
className={[
"text-[15px] leading-tight truncate",
isSelected
? "font-bold text-[#181818]"
: "font-medium text-[#344054]",
].join(" ")}
>
{displayName}
</span>
{item.symbol && item.symbol !== item.code && (
<span className="text-[12px] text-[#667085] mt-0.5">
{item.symbol}
</span>
)}
</div>
{/* Currency name */}
<span
className={[
"text-[15px] leading-tight truncate min-w-0",
isSelected
? "font-bold text-[#181818]"
: "font-medium text-[#344054]",
].join(" ")}
>
{displayName}
</span>
</div> </div>
{/* Currency code badge */} {/* Currency code badge */}

Loading…
Cancel
Save