Checkbox: Add z-index to description (#103847)
* Checkbox: Add z-index to description * Add comment
This commit is contained in:
@@ -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,
|
||||
})
|
||||
),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user