Skip to content

Commit

Permalink
fix(ui): charts now shrink
Browse files Browse the repository at this point in the history
SpikeHD committed Sep 26, 2023
1 parent 33ed45c commit a7438fa
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/graph/LineGraph.css
Original file line number Diff line number Diff line change
@@ -2,4 +2,6 @@
width: 100%;
height: 240px;
margin: 24px;

overflow: hidden;
}
1 change: 1 addition & 0 deletions frontend/src/components/graph/LineGraph.tsx
Original file line number Diff line number Diff line change
@@ -56,6 +56,7 @@ export function LineGraph(props: Props) {
options={{
animation: false,
maintainAspectRatio: false,
responsive: true,
scales: {
x: {
title: {

0 comments on commit a7438fa

Please sign in to comment.