From 973ad9697cfc1d6eeb2967957311d2585d69fc53 Mon Sep 17 00:00:00 2001 From: Uchechukwu Obasi Date: Fri, 2 Apr 2021 09:48:22 +0100 Subject: [PATCH] DataSourceList: expands the clickable area of card (#32601) --- packages/grafana-ui/src/components/Card/Card.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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%;