diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Header/index.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Header/index.tsx index 6fae1d5c6eda..10650a79adec 100644 --- a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Header/index.tsx +++ b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Header/index.tsx @@ -33,6 +33,7 @@ const TitleArea = styled.div` justify-content: space-between; margin: 0; padding: 0 ${theme.sizeUnit * 2}px ${theme.sizeUnit * 2}px; + padding-bottom: 0; /* Works with other changes in PR https://github.com/apache/superset/pull/38646 to reduces space between filter header and 1st filter */ & > span { font-size: ${theme.fontSizeLG}px; @@ -56,9 +57,8 @@ const HeaderButton = styled(Button)` const Wrapper = styled.div` ${({ theme }) => ` - padding: ${theme.sizeUnit * 3}px ${theme.sizeUnit * 2}px ${ - theme.sizeUnit - }px; + padding: ${theme.sizeUnit * 3}px ${theme.sizeUnit * 2}px; + padding-bottom: 0; /* Works with other changes in PR https://github.com/apache/superset/pull/38646 to reduces space between filter header and 1st filter */ `} `; diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Vertical.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Vertical.tsx index 9db9b8b0579c..fa9ab3c41836 100644 --- a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Vertical.tsx +++ b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Vertical.tsx @@ -119,6 +119,7 @@ const FilterControlsWrapper = styled.div` flex-direction: column; gap: ${theme.sizeUnit * 2}px; padding: ${theme.sizeUnit * 4}px; + padding-top: 0; /* Works with other changes in PR https://github.com/apache/superset/pull/38646 to reduces space between filter header and 1st filter */ // 108px padding to make room for buttons with position: absolute padding-bottom: ${theme.sizeUnit * 27}px; `}