Browse Source

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

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

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

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

Loading…
Cancel
Save