Skip to content

Commit

Permalink
Makes plot scrollable when dimention is < 1200px
Browse files Browse the repository at this point in the history
  • Loading branch information
fberanizo committed Nov 22, 2023
1 parent b05220d commit 97fb3b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/prices/Prices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function Prices(props: {visible: boolean}) {
},
]}
layout={{
width: width! - drawerWidth ?? 1000,
width: Math.max(width! - drawerWidth ?? 1200, 1200),
height: 960,
title: {
text: '',
Expand Down

0 comments on commit 97fb3b4

Please sign in to comment.