diff --git a/components/TokenList.tsx b/components/TokenList.tsx index 7d3526a4..24fb64c8 100644 --- a/components/TokenList.tsx +++ b/components/TokenList.tsx @@ -26,7 +26,7 @@ import Tooltip from './shared/Tooltip' import { formatTokenSymbol } from 'utils/tokens' const TokenList = () => { - const { t } = useTranslation(['common', 'trade']) + const { t } = useTranslation(['common', 'token', 'trade']) const { connected } = useWallet() const [showZeroBalances, setShowZeroBalances] = useState(true) const mangoAccount = mangoStore((s) => s.mangoAccount.current) @@ -81,7 +81,7 @@ const TokenList = () => { return ( -
+
{!showTableView ?

{t('show-zero-balances')}

: null} {
{showTableView ? ( - +
@@ -231,7 +231,10 @@ const TokenList = () => { id={i === 0 ? 'account-step-ten' : ''} > - goToTokenPage(bank)}> + goToTokenPage(bank)} + size="small" + > @@ -320,7 +323,10 @@ const MobileTokenListItem = ({ bank }: { bank: Bank }) => {
- setShowTokenDetails((prev) => !prev)}> + setShowTokenDetails((prev) => !prev)} + size="small" + >
diff --git a/components/shared/Button.tsx b/components/shared/Button.tsx index 3fbe4ed1..c5e44ada 100644 --- a/components/shared/Button.tsx +++ b/components/shared/Button.tsx @@ -75,7 +75,7 @@ export const IconButton: FunctionComponent = ({ size === 'large' ? 'h-12 w-12' : size === 'small' - ? 'h-7 w-7' + ? 'h-8 w-8' : 'h-10 w-10' } default-transition items-center justify-center rounded-full ${ hideBg ? 'md:hover:text-th-primary' : 'bg-th-bkg-4 md:hover:bg-th-bkg-3' diff --git a/components/shared/IconDropMenu.tsx b/components/shared/IconDropMenu.tsx index 4523d8b1..9c5e9827 100644 --- a/components/shared/IconDropMenu.tsx +++ b/components/shared/IconDropMenu.tsx @@ -41,7 +41,7 @@ const IconDropMenu = ({
{ return ( {showTableView ? ( -
{t('token')}
+
diff --git a/components/stats/TokenStats.tsx b/components/stats/TokenStats.tsx index d5e42fd8..67a5cd7c 100644 --- a/components/stats/TokenStats.tsx +++ b/components/stats/TokenStats.tsx @@ -98,7 +98,7 @@ const TokenStats = () => { {showTableView ? ( -
{t('market')}
+
@@ -214,7 +214,10 @@ const TokenStats = () => {
{t('token')}
- goToTokenPage(bank)}> + goToTokenPage(bank)} + size="small" + >
diff --git a/components/swap/JupiterRouteInfo.tsx b/components/swap/JupiterRouteInfo.tsx index e5cfa0be..d8e71c19 100644 --- a/components/swap/JupiterRouteInfo.tsx +++ b/components/swap/JupiterRouteInfo.tsx @@ -226,7 +226,6 @@ const JupiterRouteInfo = ({ className="absolute mr-3 text-th-fgd-2" onClick={onClose} size="small" - hideBg > diff --git a/components/swap/SwapForm.tsx b/components/swap/SwapForm.tsx index 227cb099..c1d10525 100644 --- a/components/swap/SwapForm.tsx +++ b/components/swap/SwapForm.tsx @@ -242,7 +242,7 @@ const SwapForm = () => {

{t('swap')}

setShowSettings(true)} size="small"