Skip to content

Commit db250b9

Browse files
fix(margin): fixing margin issues
1 parent 1bde06b commit db250b9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

superset-frontend/src/features/databases/DatabaseModal/ExtraOptions.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,7 @@ const ExtraOptions = ({
469469
),
470470
children: (
471471
<>
472-
<StyledInputContainer
473-
css={!isFileUploadSupportedByEngine ? no_margin_bottom : {}}
474-
>
472+
<StyledInputContainer css={no_margin_bottom}>
475473
<div className="input-container">
476474
<Checkbox
477475
id="per_user_caching"
@@ -491,7 +489,7 @@ const ExtraOptions = ({
491489
</div>
492490
</StyledInputContainer>
493491
<StyledInputContainer
494-
css={!isFileUploadSupportedByEngine ? no_margin_bottom : {}}
492+
css={isFileUploadSupportedByEngine ? no_margin_bottom : {}}
495493
>
496494
<div className="input-container">
497495
<Checkbox
@@ -518,7 +516,7 @@ const ExtraOptions = ({
518516
</StyledInputContainer>
519517
{isFileUploadSupportedByEngine && (
520518
<StyledInputContainer
521-
css={!db?.allow_file_upload ? no_margin_bottom : {}}
519+
css={db?.allow_file_upload ? no_margin_bottom : {}}
522520
>
523521
<div className="input-container">
524522
<Checkbox
@@ -534,7 +532,7 @@ const ExtraOptions = ({
534532
</StyledInputContainer>
535533
)}
536534
{isFileUploadSupportedByEngine && !!db?.allow_file_upload && (
537-
<StyledInputContainer css={no_margin_bottom}>
535+
<StyledInputContainer className="extra-container">
538536
<div className="control-label">
539537
{t('Schemas allowed for File upload')}
540538
</div>

0 commit comments

Comments
 (0)