* chore(#2410): market info reduce font sizes * chore(#2410): text-sm to row class name in market info
This commit is contained in:
parent
448f8f4ba5
commit
57c9ea9471
@ -32,7 +32,7 @@ const Row = ({
|
|||||||
unformatted,
|
unformatted,
|
||||||
assetSymbol = '',
|
assetSymbol = '',
|
||||||
}: RowProps) => {
|
}: 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) => {
|
const getFormattedValue = (value: unknown) => {
|
||||||
if (typeof value !== 'string' && typeof value !== 'number') return null;
|
if (typeof value !== 'string' && typeof value !== 'number') return null;
|
||||||
|
@ -114,7 +114,7 @@ export const Info = ({ market, onSelect }: InfoProps) => {
|
|||||||
}}
|
}}
|
||||||
asPercentage={true}
|
asPercentage={true}
|
||||||
/>
|
/>
|
||||||
<p className="text-sm">
|
<p className="text-xs">
|
||||||
{t(
|
{t(
|
||||||
'All fees are paid by price takers and are a % of the trade notional value. Fees are not paid during auction uncrossing.'
|
'All fees are paid by price takers and are a % of the trade notional value. Fees are not paid during auction uncrossing.'
|
||||||
)}
|
)}
|
||||||
|
@ -49,7 +49,7 @@ export const AccordionItem = ({
|
|||||||
}: AccordionPanelProps) => {
|
}: AccordionPanelProps) => {
|
||||||
const triggerClassNames = classNames(
|
const triggerClassNames = classNames(
|
||||||
'w-full py-2',
|
'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 (
|
return (
|
||||||
<AccordionPrimitive.Item value={itemId}>
|
<AccordionPrimitive.Item value={itemId}>
|
||||||
|
Loading…
Reference in New Issue
Block a user