Skip to content

Commit

Permalink
Change colors + spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
kozaktomas committed Oct 31, 2024
1 parent 5d939b6 commit 355945a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion frontend/src/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ function Dashboard() {
setShowKeg(true)
}}/>

<Warehouse warehouse={scale.warehouse} showCanvas={showWarehouse} setShowCanvas={setShowWarehouse} refresh={refresh}/>
<Warehouse warehouse={scale.warehouse} showCanvas={showWarehouse} setShowCanvas={setShowWarehouse}
refresh={refresh}/>
<Keg keg={scale.active_keg} showCanvas={showKeg} setShowCanvas={setShowKeg} refresh={refresh}/>

<Row md={12} style={{textAlign: "center", marginTop: "30px"}}>
Expand Down Expand Up @@ -196,6 +197,8 @@ function Dashboard() {

<FieldChart title={"Zbýva piva"} chart={scale.charts.beers_left} loading={showSpinner}/>


<Row className={"mt-4"}></Row>
</Container>
)
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/FieldChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ function FieldChart(props) {
label: 'Pivo',
data: interval.values.map((item) => item.value),
fill: true,
backgroundColor: 'rgba(75,192,192,0.2)',
borderColor: 'rgba(75,192,192,1)'
backgroundColor: 'rgba(69, 57, 32,0.2)',
borderColor: 'rgba(219, 166, 55,1)',
},
]
})
Expand Down

0 comments on commit 355945a

Please sign in to comment.