From d0501d87dbc66e39537f2b91af08106381862501 Mon Sep 17 00:00:00 2001 From: typist Date: Thu, 30 Oct 2025 09:22:27 +0800 Subject: [PATCH] refactor: improve currency display and layout in tool component - Updated currency display to enhance clarity by separating symbol, code, and name into distinct elements. - Adjusted styling for better alignment and responsiveness in the currency selection interface. - Improved overall user experience by refining the layout of currency information in the Card component. --- src/components/tool/currency.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/tool/currency.tsx b/src/components/tool/currency.tsx index b447d6f..306d0e0 100644 --- a/src/components/tool/currency.tsx +++ b/src/components/tool/currency.tsx @@ -350,13 +350,12 @@ const Tool: FC = () => { }} > - - {currency.symbol} {currency.code} - {currency.name} - + {currency.symbol} + {currency.code} ); })} @@ -420,7 +419,10 @@ const Tool: FC = () => { - {currency.symbol} {currency.code} - {currency.name} +
+
{currency.symbol} {currency.code}
+
{currency.name}
+