From c82311e74a7799c258d7278f0045b221d5446068 Mon Sep 17 00:00:00 2001 From: Matias Chomicki Date: Wed, 17 Sep 2025 11:44:49 +0200 Subject: [PATCH] LogLabels: make button smaller --- public/app/features/logs/components/LogLabels.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/app/features/logs/components/LogLabels.tsx b/public/app/features/logs/components/LogLabels.tsx index 03d3022e682..28c89d46c79 100644 --- a/public/app/features/logs/components/LogLabels.tsx +++ b/public/app/features/logs/components/LogLabels.tsx @@ -68,6 +68,7 @@ export const LogLabels = memo( size="sm" fill="outline" variant="secondary" + className={styles.button} aria-label={t('logs.log-labels.expand', 'Expand labels')} onClick={() => { setDisplayAll(true); @@ -83,6 +84,7 @@ export const LogLabels = memo( size="sm" fill="outline" variant="secondary" + className={styles.button} aria-label={t('logs.log-labels.collapse', 'Collapse labels')} onClick={() => { setDisplayAll(false); @@ -161,5 +163,8 @@ const getStyles = (theme: GrafanaTheme2) => { textOverflow: 'ellipsis', overflow: 'hidden', }), + button: css({ + height: theme.spacing(2.75), + }) }; };