LogLabels: make button smaller

This commit is contained in:
Matias Chomicki
2025-09-17 12:15:45 +02:00
parent 77f205b33b
commit c82311e74a
@@ -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),
})
};
};