mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
style: adding padding to the sides of badges, so they look less claustrophobic (#14569)
This commit is contained in:
parent
cd899c5652
commit
eaeb8f71c8
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user