RadioButtonGroup: Fixes icon alignment (#77196)

This commit is contained in:
Torkel Ödegaard 2023-10-27 11:35:06 +02:00 committed by GitHub
parent df41378472
commit 5d706705ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,6 +108,8 @@ const getRadioButtonStyles = stylesFactory((theme: GrafanaTheme2, size: RadioBut
},
}),
radioLabel: css({
display: 'flex',
alignItems: 'center',
fontSize,
height: `${labelHeight}px`,
// Deduct border from line-height for perfect vertical centering on windows and linux