You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by di...@apache.org on 2025/11/17 10:06:21 UTC

(superset) 01/01: fix: Columns bleeding into other cells

This is an automated email from the ASF dual-hosted git repository.

diegopucci pushed a commit to branch enxdev/fix/pivot-columns
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 4debf25cbb299c23bea8e464086421f7caa6c163
Author: Diego Pucci <di...@gmail.com>
AuthorDate: Mon Nov 17 11:06:02 2025 +0100

    fix: Columns bleeding into other cells
---
 .../plugin-chart-pivot-table/src/react-pivottable/Styles.js       | 8 ++++++++
 1 file changed, 8 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 327104c6b2..200efffff7 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,13 @@ 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};
+      z-index: 1;
     }
 
     table.pvtTable thead tr:last-of-type th,