From 2a21ef6dc9a1521fe61d9eb25fdc6c71f8e916e5 Mon Sep 17 00:00:00 2001 From: Enzo Martellucci <52219496+EnxDev@users.noreply.github.com> Date: Tue, 25 Nov 2025 10:09:13 +0100 Subject: [PATCH] fix: Columns bleeding into other cells (#36134) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Diego Pucci Co-authored-by: Geidō <60598000+geido@users.noreply.github.com> (cherry picked from commit 062e4a292243a75f40e7219a0a4d42df0b3f7f04) --- .../src/react-pivottable/Styles.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js b/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js index 86dd63f4f6e..d5ba477e3ad 100644 --- a/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js +++ b/superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/Styles.js @@ -28,6 +28,7 @@ export const Styles = styled.div` text-align: left; margin: ${theme.sizeUnit}px; border-collapse: separate; + border-spacing: 0; font-family: ${theme.fontFamily}; line-height: 1.4; } @@ -54,6 +55,12 @@ export const Styles = styled.div` table.pvtTable tbody tr.pvtRowTotals { position: ${isDashboardEditMode ? 'inherit' : 'sticky'}; bottom: 0; + background-color: ${theme.colorBgBase}; + } + + table.pvtTable tbody tr.pvtRowTotals th, + table.pvtTable tbody tr.pvtRowTotals td { + background-color: ${theme.colorBgBase}; } table.pvtTable thead tr:last-of-type th,