Multi/Combobox: Use pointer cursor when not focused (#100878)

Combobox: Add pointer when not focused
This commit is contained in:
Tobias Skarhed
2025-02-18 15:57:53 +01:00
committed by GitHub
parent 4979dd4eec
commit 4c8a63320c
2 changed files with 8 additions and 0 deletions
@@ -126,6 +126,12 @@ export const getComboboxStyles = (theme: GrafanaTheme2) => {
'> div > div:last-child': {
pointerEvents: 'none',
},
'& input': {
cursor: 'pointer',
},
'& input:focus': {
cursor: 'text',
},
}),
addaptToParent: css({
label: 'combobox-addapt-to-parent',
@@ -54,7 +54,9 @@ export const getMultiComboboxStyles = (
},
'&:focus': {
outline: 'none',
cursor: 'text',
},
cursor: 'pointer',
}),
pillWrapper: css({