diff --git a/superset-frontend/src/components/Badge/index.tsx b/superset-frontend/src/components/Badge/index.tsx index 8dfe3cbd3..6dda874c9 100644 --- a/superset-frontend/src/components/Badge/index.tsx +++ b/superset-frontend/src/components/Badge/index.tsx @@ -30,7 +30,7 @@ const Badge = styled(( { textColor, ...props }: BadgeProps, ) => )` & > sup { - padding: 0 0.35px 0 0; + padding: 0 ${({ theme }) => theme.gridUnit * 2}px; background: ${({ theme, color }) => color || theme.colors.primary.base}; color: ${({ theme, textColor }) => textColor || theme.colors.grayscale.light5};