Skip to content

Commit

Permalink
Set maximum height for part charts (#8232)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat authored Oct 2, 2024
1 parent 69bc580 commit f8c7635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/pages/part/PartSchedulingDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
Anchor,
Center,
Divider,
DrawerOverlay,
Loader,
Paper,
SimpleGrid,
Expand Down Expand Up @@ -264,6 +263,7 @@ export default function PartSchedulingDetail({ part }: { part: any }) {
) : (
<LineChart
data={chartData}
mah={'500px'}
dataKey="date"
withLegend
withYAxis
Expand Down
1 change: 1 addition & 0 deletions src/frontend/src/pages/part/PartStocktakeDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ export default function PartStocktakeDetail({ partId }: { partId: number }) {
) : (
<LineChart
data={chartData}
mah={'500px'}
dataKey="date"
withLegend
withYAxis
Expand Down

0 comments on commit f8c7635

Please sign in to comment.