From bbccb7139c3693788afa1303e9b1683d76f168f9 Mon Sep 17 00:00:00 2001 From: Martin Adamko Date: Thu, 27 Jul 2023 21:38:42 +0200 Subject: [PATCH] fix(ui): Radio buttons labels --- packages/ui/src/components/Forms/Radio/index.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ui/src/components/Forms/Radio/index.css b/packages/ui/src/components/Forms/Radio/index.css index 65946cebab..d899a4d279 100644 --- a/packages/ui/src/components/Forms/Radio/index.css +++ b/packages/ui/src/components/Forms/Radio/index.css @@ -9,7 +9,7 @@ --control-font-size: var(--cui-font-size-controls); display: inline-flex; flex-direction: column; - gap: calc(3 * var(--cui-gap)); + gap: var(--cui-padding); position: relative; } @@ -95,3 +95,7 @@ :where(.cui-radio-button.is-checked)::after { transform: scale(var(--button-knob-scale)); } + +:where(.cui-radio-control .cui-field-container-header) { + font-weight: unset; +}