From 224a9223417469f9d5fdc2f6b5985d6b229af1d5 Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" <70410625+michael-s-molina@users.noreply.github.com> Date: Tue, 10 Mar 2026 11:44:31 -0300 Subject: [PATCH] fix: SQL Lab tab content padding (#38561) (cherry picked from commit bde48e563ef937470465fa50ff95be76df0fdded) --- superset-frontend/src/SqlLab/components/ResultSet/index.tsx | 2 +- superset-frontend/src/SqlLab/components/SouthPane/index.tsx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx index 510228596d7..7c33304890a 100644 --- a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx +++ b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx @@ -118,7 +118,7 @@ export interface ResultSetProps { const ResultContainer = styled.div` display: flex; flex-direction: column; - row-gap: ${({ theme }) => theme.sizeUnit * 2}px; + row-gap: ${({ theme }) => theme.sizeUnit * 3}px; height: 100%; `; diff --git a/superset-frontend/src/SqlLab/components/SouthPane/index.tsx b/superset-frontend/src/SqlLab/components/SouthPane/index.tsx index 5ee5b172f6d..114a2345a2f 100644 --- a/superset-frontend/src/SqlLab/components/SouthPane/index.tsx +++ b/superset-frontend/src/SqlLab/components/SouthPane/index.tsx @@ -63,6 +63,7 @@ const TABS_KEYS = { const StyledPane = styled.div` width: 100%; height: 100%; + .ant-tabs .ant-tabs-content-holder { overflow: visible; } @@ -79,6 +80,7 @@ const StyledPane = styled.div` ${({ theme }) => theme.sizeUnit * 2}px; } .ant-tabs-tabpane { + padding-top: ${({ theme }) => theme.sizeUnit * 3}px; .scrollable { overflow-y: auto; }