diff --git a/packages/grafana-ui/src/components/Card/Card.tsx b/packages/grafana-ui/src/components/Card/Card.tsx index 1a4d193744a..4720c73f09f 100644 --- a/packages/grafana-ui/src/components/Card/Card.tsx +++ b/packages/grafana-ui/src/components/Card/Card.tsx @@ -146,7 +146,6 @@ export const getContainerStyles = stylesFactory((theme: GrafanaTheme, disabled = color: ${theme.colors.textStrong}; background: ${theme.colors.bg2}; border-radius: ${theme.border.radius.sm}; - padding: ${theme.spacing.md}; position: relative; pointer-events: ${disabled ? 'none' : 'auto'}; margin-bottom: ${theme.spacing.sm}; @@ -263,6 +262,7 @@ export const getCardStyles = stylesFactory((theme: GrafanaTheme) => { innerLink: css` display: flex; width: 100%; + padding: ${theme.spacing.md}; `, tagList: css` max-width: 50%;