From 57c9ea9471b6d55e537e9ab5d08aec2bb7843040 Mon Sep 17 00:00:00 2001 From: "m.ray" <16125548+MadalinaRaicu@users.noreply.github.com> Date: Wed, 21 Dec 2022 11:06:50 -0500 Subject: [PATCH] chore(#2410): market info reduce font sizes (#2443) * chore(#2410): market info reduce font sizes * chore(#2410): text-sm to row class name in market info --- .../src/components/market-info/info-key-value-table.tsx | 2 +- libs/market-info/src/components/market-info/info-market.tsx | 2 +- libs/ui-toolkit/src/components/accordion/accordion.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/market-info/src/components/market-info/info-key-value-table.tsx b/libs/market-info/src/components/market-info/info-key-value-table.tsx index 96d62d035..14cc16f71 100644 --- a/libs/market-info/src/components/market-info/info-key-value-table.tsx +++ b/libs/market-info/src/components/market-info/info-key-value-table.tsx @@ -32,7 +32,7 @@ const Row = ({ unformatted, assetSymbol = '', }: RowProps) => { - const className = 'text-black dark:text-white text-ui !px-0 !font-normal'; + const className = 'text-black dark:text-white text-sm !px-0'; const getFormattedValue = (value: unknown) => { if (typeof value !== 'string' && typeof value !== 'number') return null; diff --git a/libs/market-info/src/components/market-info/info-market.tsx b/libs/market-info/src/components/market-info/info-market.tsx index d9e7a2753..43b93230b 100644 --- a/libs/market-info/src/components/market-info/info-market.tsx +++ b/libs/market-info/src/components/market-info/info-market.tsx @@ -114,7 +114,7 @@ export const Info = ({ market, onSelect }: InfoProps) => { }} asPercentage={true} /> -
+
{t(
'All fees are paid by price takers and are a % of the trade notional value. Fees are not paid during auction uncrossing.'
)}
diff --git a/libs/ui-toolkit/src/components/accordion/accordion.tsx b/libs/ui-toolkit/src/components/accordion/accordion.tsx
index d4ab406a8..41f9525bc 100644
--- a/libs/ui-toolkit/src/components/accordion/accordion.tsx
+++ b/libs/ui-toolkit/src/components/accordion/accordion.tsx
@@ -49,7 +49,7 @@ export const AccordionItem = ({
}: AccordionPanelProps) => {
const triggerClassNames = classNames(
'w-full py-2',
- 'flex items-center justify-between border-b border-neutral-500'
+ 'flex items-center justify-between border-b border-neutral-500 text-sm'
);
return (