From a4953bb65a456d53c95e4276402ef1aaf1e54f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 8 Dec 2020 09:08:06 +0100 Subject: [PATCH] RadioButton: Fix flex issue in master for radio buttons (#29664) --- .../src/components/Forms/RadioButtonGroup/RadioButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx b/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx index 33acd1859a8..624e93e20e6 100644 --- a/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx +++ b/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx @@ -80,7 +80,7 @@ const getRadioButtonStyles = stylesFactory((theme: GrafanaTheme, size: RadioButt background: ${bg}; cursor: pointer; z-index: 1; - flex: ${fullWidth ? `1 0 0` : 0}; + flex: ${fullWidth ? `1 0 0` : 'none'}; text-align: center; user-select: none;