GrafanaUI: Reverts changes in styling to tag component (#51911)

This commit is contained in:
Joao Silva 2022-07-12 17:46:51 +01:00 committed by GitHub
parent 0ae98743e0
commit 7bb644d910
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,15 +64,13 @@ const getTagStyles = (theme: GrafanaTheme, name: string, colorIndex?: number) =>
font-weight: ${theme.typography.weight.semibold}; font-weight: ${theme.typography.weight.semibold};
font-size: ${theme.typography.size.sm}; font-size: ${theme.typography.size.sm};
line-height: ${theme.typography.lineHeight.xs}; line-height: ${theme.typography.lineHeight.xs};
vertical-align: baseline;
background-color: ${colors.color}; background-color: ${colors.color};
color: ${theme.palette.gray98}; color: ${theme.palette.gray98};
white-space: nowrap; white-space: nowrap;
text-shadow: none; text-shadow: none;
padding: 3px 6px; padding: 3px 6px;
border-radius: ${theme.border.radius.md}; border-radius: ${theme.border.radius.md};
display: flex;
align-items: center;
gap: 3px;
`, `,
hover: css` hover: css`
&:hover { &:hover {