Checkbox: Add z-index to description (#103847)

* Checkbox: Add z-index to description

* Add comment
This commit is contained in:
Alex Khomenko
2025-04-11 15:32:02 +03:00
committed by GitHub
parent f5ad1ef69b
commit 1291b60bbe
@@ -212,6 +212,8 @@ export const getCheckboxStyles = (theme: GrafanaTheme2, invalid = false) => {
gridRowStart: 2,
lineHeight: theme.typography.bodySmall.lineHeight,
marginTop: 0 /* The margin effectively comes from the top: -2px on the label above it */,
// Enable interacting with description when checkbox is disabled
zIndex: 1,
})
),
};