diff --git a/superset-frontend/src/components/ListView/Filters/CompactSelectPanel.tsx b/superset-frontend/src/components/ListView/Filters/CompactSelectPanel.tsx index 7ac7195a1d8..beb8414d4bb 100644 --- a/superset-frontend/src/components/ListView/Filters/CompactSelectPanel.tsx +++ b/superset-frontend/src/components/ListView/Filters/CompactSelectPanel.tsx @@ -57,7 +57,6 @@ const PanelContainer = styled.div` display: flex; flex-direction: column; border-radius: ${theme.borderRadiusLG}px; - overflow: hidden; background: ${theme.colorBgElevated}; box-shadow: ${theme.boxShadowSecondary}; padding: 0 0 ${theme.paddingXXS}px; @@ -86,7 +85,9 @@ const OptionItem = styled.li<{ $active: boolean }>` display: flex; align-items: center; justify-content: space-between; - padding: 5px ${theme.sizeUnit * 3}px; + padding: ${(theme.controlHeight - theme.fontSize * theme.lineHeight) / + 2}px ${theme.controlPaddingHorizontal}px; + line-height: ${theme.lineHeight}; cursor: pointer; font-size: ${theme.fontSize}px; color: ${theme.colorText};