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: {
|
options: {
|
||||||
responsive: true,
|
responsive: true,
|
||||||
maintainAspectRatio: true,
|
maintainAspectRatio: true,
|
||||||
|
aspectRatio: 1.5,
|
||||||
plugins: {
|
plugins: {
|
||||||
legend: {
|
legend: {
|
||||||
display: false
|
display: false
|
||||||
|
|
|
||||||
|
|
@ -180,8 +180,7 @@ button:focus-visible {
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard {
|
.dashboard {
|
||||||
max-width: 1280px;
|
max-width: 100%;
|
||||||
margin: 0 auto;
|
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue