RadioButtonGroup: Ensure background colour displays properly (#92665)

add background colour to RadioButtonGroup
This commit is contained in:
Ashley Harrison 2024-08-29 15:16:04 +01:00 committed by GitHub
parent 6298825cf7
commit d2ee4d1005
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,6 +113,7 @@ RadioButtonGroup.displayName = 'RadioButtonGroup';
const getStyles = (theme: GrafanaTheme2) => { const getStyles = (theme: GrafanaTheme2) => {
return { return {
radioGroup: css({ radioGroup: css({
backgroundColor: theme.colors.background.primary,
display: 'inline-flex', display: 'inline-flex',
flexDirection: 'row', flexDirection: 'row',
flexWrap: 'nowrap', flexWrap: 'nowrap',