added some padding above the radio button group on rjsf forms w/ burnettk (#1431)

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
jasquat 2024-04-22 18:31:18 +00:00 committed by GitHub
parent 5ba5727eec
commit a59f2777cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,7 @@ function RadioWidget({
onBlur={_onBlur} onBlur={_onBlur}
onFocus={_onFocus} onFocus={_onFocus}
orientation={row ? 'horizontal' : 'vertical'} orientation={row ? 'horizontal' : 'vertical'}
className="radio-button-group"
> >
{Array.isArray(enumOptions) && {Array.isArray(enumOptions) &&
enumOptions.map((option) => { enumOptions.map((option) => {

View File

@ -122,3 +122,7 @@
/* justify-content: center; */ /* justify-content: center; */
align-items: center; align-items: center;
} }
.rjsf .radio-button-group {
padding-top: 0.5rem;
}