mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
dashboard: adjust CSS for chart.js v4
continuation of d752050a11
aspect-ratio introduced visual artifacts with dead space when resizing
widgets.
This commit is contained in:
parent
09eba5d82f
commit
d988511b7e
@ -147,9 +147,12 @@ td {
|
||||
|
||||
.canvas-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.canvas-container > canvas {
|
||||
/* ChartJS v4 workaround: https://github.com/chartjs/Chart.js/issues/11005 */
|
||||
aspect-ratio: 2;
|
||||
overflow: hidden;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
}
|
||||
|
||||
.cpu-canvas-container {
|
||||
|
||||
@ -148,9 +148,12 @@ td {
|
||||
|
||||
.canvas-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.canvas-container > canvas {
|
||||
/* ChartJS v4 workaround: https://github.com/chartjs/Chart.js/issues/11005 */
|
||||
aspect-ratio: 2;
|
||||
overflow: hidden;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
}
|
||||
|
||||
.cpu-canvas-container {
|
||||
|
||||
@ -148,9 +148,12 @@ td {
|
||||
|
||||
.canvas-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.canvas-container > canvas {
|
||||
/* ChartJS v4 workaround: https://github.com/chartjs/Chart.js/issues/11005 */
|
||||
aspect-ratio: 2;
|
||||
overflow: hidden;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
}
|
||||
|
||||
.cpu-canvas-container {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user