mirror of
https://github.com/marcogll/ap_pos.git
synced 2026-01-13 13:15:16 +00:00
fix(ui): fix chartjs redraw loop
Set a fixed height and position to the action buttons to prevent an infinite redraw loop from Chart.js.
This commit is contained in:
@@ -296,6 +296,9 @@ button.action-btn {
|
|||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
||||||
|
/* Fijar altura para evitar bucle infinito de redibujo de Chart.js */
|
||||||
|
position: relative;
|
||||||
|
height: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user