From 96ffed6674300a32d92f63fb443a54d3a9733eec Mon Sep 17 00:00:00 2001 From: Marco Gallegos Date: Wed, 13 Aug 2025 07:57:26 -0600 Subject: [PATCH] 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. --- ap-pos/styles.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ap-pos/styles.css b/ap-pos/styles.css index 49cb5d6..08532b3 100644 --- a/ap-pos/styles.css +++ b/ap-pos/styles.css @@ -296,6 +296,9 @@ button.action-btn { padding: 1.5rem; border-radius: 8px; 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; }