Skip to content

Commit

Permalink
fix: fixed chart width on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
fluid-design-io committed Oct 21, 2023
1 parent 9d70786 commit 45731be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/web/app/visualizer/chart/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,23 +198,23 @@ export default function VisChart() {
<div
className={cn(
cardStyle,
"mr-4 w-11/12 snap-start scroll-ml-4 sm:scroll-ml-8 md:mr-8",
"mr-4 w-11/12 min-w-[77vw] snap-start scroll-ml-4 sm:min-w-[320px] sm:scroll-ml-8 md:mr-8",
)}
>
<BreakDown title="USA" unit="kg" factor={10} seed={0} />
</div>
<div
className={cn(
cardStyle,
"mr-4 w-11/12 snap-start scroll-ml-4 sm:scroll-ml-8 md:mr-8",
"mr-4 w-11/12 min-w-[77vw] snap-start scroll-ml-4 sm:min-w-[320px] sm:scroll-ml-8 md:mr-8",
)}
>
<BreakDown title="China" unit="kg" factor={5} seed={1} />
</div>
<div
className={cn(
cardStyle,
"w-11/12 snap-start scroll-ml-4 sm:scroll-ml-8",
"w-11/12 min-w-[77vw] snap-start scroll-ml-4 sm:min-w-[320px] sm:scroll-ml-8",
)}
>
<BreakDown title="India" unit="kg" factor={2} seed={2} />
Expand Down

0 comments on commit 45731be

Please sign in to comment.