RadioButton: Fix alignment (#77416)

This commit is contained in:
Alex Khomenko 2023-10-31 09:15:37 +01:00 committed by GitHub
parent 3c915d0502
commit 7ba3b52e65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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