From a59f2777cd75153d8d0a70ab72552fcd0e894977 Mon Sep 17 00:00:00 2001 From: jasquat <2487833+jasquat@users.noreply.github.com> Date: Mon, 22 Apr 2024 18:31:18 +0000 Subject: [PATCH] added some padding above the radio button group on rjsf forms w/ burnettk (#1431) Co-authored-by: jasquat --- .../src/rjsf/carbon_theme/RadioWidget/RadioWidget.tsx | 1 + spiffworkflow-frontend/src/rjsf/carbon_theme/index.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/spiffworkflow-frontend/src/rjsf/carbon_theme/RadioWidget/RadioWidget.tsx b/spiffworkflow-frontend/src/rjsf/carbon_theme/RadioWidget/RadioWidget.tsx index 1e07e6891..71f4051cf 100644 --- a/spiffworkflow-frontend/src/rjsf/carbon_theme/RadioWidget/RadioWidget.tsx +++ b/spiffworkflow-frontend/src/rjsf/carbon_theme/RadioWidget/RadioWidget.tsx @@ -61,6 +61,7 @@ function RadioWidget({ onBlur={_onBlur} onFocus={_onFocus} orientation={row ? 'horizontal' : 'vertical'} + className="radio-button-group" > {Array.isArray(enumOptions) && enumOptions.map((option) => { diff --git a/spiffworkflow-frontend/src/rjsf/carbon_theme/index.css b/spiffworkflow-frontend/src/rjsf/carbon_theme/index.css index f881e3c25..c6162934a 100644 --- a/spiffworkflow-frontend/src/rjsf/carbon_theme/index.css +++ b/spiffworkflow-frontend/src/rjsf/carbon_theme/index.css @@ -122,3 +122,7 @@ /* justify-content: center; */ align-items: center; } + +.rjsf .radio-button-group { + padding-top: 0.5rem; +}