From 2e8768bfcbd8300bee7e51d99942c2e4e375d159 Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Mon, 4 Sep 2023 12:30:09 -0700 Subject: [PATCH] chore: reduce font size of product selector --- .../market-selector/product-selector.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/apps/trading/components/market-selector/product-selector.tsx b/apps/trading/components/market-selector/product-selector.tsx index 6669ae183..15077c7f6 100644 --- a/apps/trading/components/market-selector/product-selector.tsx +++ b/apps/trading/components/market-selector/product-selector.tsx @@ -33,11 +33,14 @@ export const ProductSelector = ({ return (
{Object.keys(Product).map((t) => { - const classes = classNames('px-3 py-1.5 rounded', { - 'bg-vega-clight-500 dark:bg-vega-cdark-500 text-default': - t === product, - 'text-secondary': t !== product, - }); + const classes = classNames( + 'text-sm px-3 py-1.5 rounded hover:text-vega-clight-50 dark:hover:text-vega-cdark-50', + { + 'bg-vega-clight-500 dark:bg-vega-cdark-500 text-default': + t === product, + 'text-secondary': t !== product, + } + ); return (