From 803b5b2c1d283f1e48d9a1cac33b0eadd8d1abe8 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Tue, 26 Nov 2024 12:59:12 -0300 Subject: [PATCH] css: Fix AG Grid cell line height by setting internal property to none (#4870) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 📝 (App.css): add style for ag-cell class to remove internal calculated line height for better UI appearance * 📝 (App.css): update CSS to remove internal calculated line height for specific elements in ag-grid cells --- src/frontend/src/App.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/frontend/src/App.css b/src/frontend/src/App.css index c1ab30e00..2cd6f1d45 100644 --- a/src/frontend/src/App.css +++ b/src/frontend/src/App.css @@ -183,3 +183,11 @@ body { code { font-family: var(--font-mono) s !important; } + +.ag-cell { + --ag-internal-calculated-line-height: none !important; +} + +.ag-cell-wrapper > *:not(.ag-cell-value):not(.ag-group-value) { + --ag-internal-calculated-line-height: none !important; +}