Skip to content

Commit

Permalink
fix(dashboard): Fix filter card positioning for horizontal native fil…
Browse files Browse the repository at this point in the history
…ters (#22212)
  • Loading branch information
codyml committed Nov 28, 2022
1 parent 940a175 commit 4b96474
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions superset-frontend/src/dashboard/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,18 @@ export const filterCardPopoverStyle = (theme: SupersetTheme) => css`
padding: 0;
border-radius: 4px;

&.ant-popover-placement-bottom {
padding-top: ${theme.gridUnit}px;
}

&.ant-popover-placement-left {
padding-right: ${theme.gridUnit * 3}px;
}

.ant-popover-inner {
box-shadow: 0 0 8px rgb(0 0 0 / 10%);
}

.ant-popover-inner-content {
padding: ${theme.gridUnit * 4}px;
}
Expand Down

0 comments on commit 4b96474

Please sign in to comment.