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
This commit is contained in:
m.ray 2022-12-21 11:06:50 -05:00 committed by GitHub
parent 448f8f4ba5
commit 57c9ea9471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -114,7 +114,7 @@ export const Info = ({ market, onSelect }: InfoProps) => {
}}
asPercentage={true}
/>
<p className="text-sm">
<p className="text-xs">
{t(
'All fees are paid by price takers and are a % of the trade notional value. Fees are not paid during auction uncrossing.'
)}

View File

@ -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 (
<AccordionPrimitive.Item value={itemId}>