Skip to content

Commit

Permalink
feat(ui-commons): update Fieldset style
Browse files Browse the repository at this point in the history
  • Loading branch information
skamril committed Jul 10, 2024
1 parent 2454456 commit 2623641
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webapp/src/components/common/Fieldset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ function Fieldset(props: FieldsetProps) {
m: 0,
},
},
// Remove padding from the last child of the dialog content
".MuiDialogContent-root .Form__Content > &:last-child": {
pb: 0,
},
},
sx,
)}
Expand All @@ -59,7 +63,7 @@ function Fieldset(props: FieldsetProps) {
<Divider sx={{ mt: 1 }} />
</>
)}
<Box {...contentProps} sx={mergeSxProp({ pt: 2 }, contentProps?.sx)}>
<Box {...contentProps} sx={mergeSxProp({ pt: 1 }, contentProps?.sx)}>
{children}
</Box>
</Box>
Expand Down

0 comments on commit 2623641

Please sign in to comment.