You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by so...@apache.org on 2026/05/11 18:25:57 UTC

(superset) 02/02: fix(dashboard): add top padding to "Create new chart" button in builder pane

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

yousoph pushed a commit to branch fix/dashboard-create-chart-button-spacing
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 567a12bdc9d3f5ebe1bf50ec57810c89f7b497c3
Author: yousoph <so...@gmail.com>
AuthorDate: Mon May 11 18:25:38 2026 +0000

    fix(dashboard): add top padding to "Create new chart" button in builder pane
    
    Co-Authored-By: Claude Sonnet 4.6 <no...@anthropic.com>
---
 superset-frontend/src/dashboard/components/SliceAdder.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/dashboard/components/SliceAdder.tsx b/superset-frontend/src/dashboard/components/SliceAdder.tsx
index 8ad34e3c065..b55c570a862 100644
--- a/superset-frontend/src/dashboard/components/SliceAdder.tsx
+++ b/superset-frontend/src/dashboard/components/SliceAdder.tsx
@@ -117,7 +117,7 @@ const NewChartButtonContainer = styled.div`
   ${({ theme }) => css`
     display: flex;
     justify-content: flex-end;
-    padding-right: ${theme.sizeUnit * 2}px;
+    padding: ${theme.sizeUnit * 3}px ${theme.sizeUnit * 2}px 0;
   `}
 `;