made set width for portfolio/profit fields (#1006)

This commit is contained in:
ingawei 2022-10-05 15:40:26 -05:00 committed by GitHub
parent f1f8082600
commit 2d56525d65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,10 +32,10 @@ export const PortfolioValueSection = memo(
return ( return (
<> <>
<Row className="mb-2 justify-between"> <Row className="mb-2 justify-between">
<Row className="gap-4 sm:gap-8"> <Row className="gap-2">
<Col <Col
className={clsx( className={clsx(
'cursor-pointer', 'w-24 cursor-pointer sm:w-28 ',
graphMode != 'profit' graphMode != 'profit'
? 'cursor-pointer opacity-40 hover:opacity-80' ? 'cursor-pointer opacity-40 hover:opacity-80'
: '' : ''
@ -72,7 +72,7 @@ export const PortfolioValueSection = memo(
<Col <Col
className={clsx( className={clsx(
'cursor-pointer', 'w-24 cursor-pointer sm:w-28',
graphMode != 'value' ? 'opacity-40 hover:opacity-80' : '' graphMode != 'value' ? 'opacity-40 hover:opacity-80' : ''
)} )}
onClick={() => { onClick={() => {