Skip to content

Commit

Permalink
fix(ux): minimize layout shifts
Browse files Browse the repository at this point in the history
Fixes #229
  • Loading branch information
maxpatiiuk committed Dec 16, 2023
1 parent 6369676 commit a96066a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/src/components/Charts/DoughnutChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export function DoughnutChart({
header={commonText('doughnutChart')}
getJsonExport={getJsonExport}
getTsvExport={getTsvExport}
className="aspect-square"
>
{loaded ? (
<Doughnut
Expand Down
1 change: 1 addition & 0 deletions src/src/components/Charts/StackedChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export function StackedChart({
getJsonExport={getJsonExport}
getTsvExport={getTsvExport}
header={commonText('stackedChart')}
className="aspect-[2/1]"
>
{loaded ? (
<Bar
Expand Down

0 comments on commit a96066a

Please sign in to comment.