mirror of
https://github.com/apache/superset.git
synced 2026-06-04 23:29:24 +00:00
style: adding padding to the sides of badges, so they look less claustrophobic (#14569)
This commit is contained in:
@@ -30,7 +30,7 @@ const Badge = styled((
|
||||
{ textColor, ...props }: BadgeProps,
|
||||
) => <AntdBadge {...props} />)`
|
||||
& > 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};
|
||||
|
||||
Reference in New Issue
Block a user