From a50de459aead3d2a6efb6533adb6929dc59a4f79 Mon Sep 17 00:00:00 2001 From: Mayank Aggarwal Date: Wed, 13 May 2026 22:14:05 +0530 Subject: [PATCH] fix(dashboard): restore spacing for charts inside Tabs layout (#38729) --- .../dashboard/components/DashboardBuilder/DashboardBuilder.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx index 8906ddb316e..0d95bfb9038 100644 --- a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx +++ b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx @@ -315,6 +315,7 @@ const StyledDashboardContent = styled.div<{ background-color: ${theme.colorBgContainer}; position: relative; padding: ${theme.sizeUnit * 4}px; + box-sizing: border-box; overflow-y: visible; // transitionable traits to show filter relevance @@ -332,7 +333,7 @@ const StyledDashboardContent = styled.div<{ &.fade-out { border-radius: ${theme.borderRadius}px; - box-shadow: none; + box-shadow: 0 0 0 1px ${addAlpha(theme.colorBorder, 0.5)}; } & .missing-chart-container {