Skip to content

Commit 22fd3ed

Browse files
committed
adjust stats styling
1 parent 3cd64a0 commit 22fd3ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/leverage/components/stats/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function QuickStats() {
7676
className='flex w-full items-center justify-between rounded-lg bg-zinc-900'
7777
style={{ boxShadow: '2px 2px 30px 0px rgba(0, 0, 0, 0.06)' }}
7878
>
79-
<div className='flex w-full items-center justify-center px-2 py-4 sm:justify-between sm:px-4 lg:px-6'>
79+
<div className='flex w-full items-center justify-center px-2 py-4 sm:justify-start sm:gap-x-10 sm:px-4 lg:px-6'>
8080
<MarketSelector marketData={marketData} />
8181
<StatsMetric
8282
isLoading={isFetching}
@@ -95,7 +95,7 @@ export function QuickStats() {
9595
}
9696
/>
9797
</div>
98-
<div className='flex h-full w-full items-center justify-center pr-2 sm:justify-between sm:pr-4 lg:pr-6'>
98+
<div className='flex h-full w-full items-center justify-center pr-2 sm:justify-start sm:gap-x-10 sm:pr-4 lg:pr-6 xl:gap-x-6 2xl:gap-x-12'>
9999
<LeverageSelectorContainer />
100100
<StatsMetric
101101
className='hidden w-20 xl:flex'

src/app/leverage/components/stats/net-rate-tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function NetRateTooltip({ isFetching, token }: Props) {
2626
<Tooltip placement='bottom'>
2727
<TooltipTrigger>
2828
<StatsMetric
29-
className='hidden w-28 sm:flex'
29+
className='hidden w-24 sm:flex'
3030
isLoading={isFetching}
3131
overrideValueClassName={
3232
netRate && !isFetching

0 commit comments

Comments
 (0)