Update BarChart aspect ratio and adjust dashboard max-width for better responsiveness
This commit is contained in:
parent
a78ed7268c
commit
fe1c269d02
|
|
@ -33,6 +33,7 @@ export function renderBarChart(data = DEFAULT_DATA) {
|
|||
options: {
|
||||
responsive: true,
|
||||
maintainAspectRatio: true,
|
||||
aspectRatio: 1.5,
|
||||
plugins: {
|
||||
legend: {
|
||||
display: false
|
||||
|
|
|
|||
|
|
@ -180,8 +180,7 @@ button:focus-visible {
|
|||
}
|
||||
|
||||
.dashboard {
|
||||
max-width: 1280px;
|
||||
margin: 0 auto;
|
||||
max-width: 100%;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue