From 2623641e316c5926670cc8b5b17733320999435a Mon Sep 17 00:00:00 2001 From: Samir Kamal <1954121+skamril@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:46:21 +0200 Subject: [PATCH] feat(ui-commons): update Fieldset style --- webapp/src/components/common/Fieldset.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/src/components/common/Fieldset.tsx b/webapp/src/components/common/Fieldset.tsx index cd72fa8943..442e4078b6 100644 --- a/webapp/src/components/common/Fieldset.tsx +++ b/webapp/src/components/common/Fieldset.tsx @@ -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, )} @@ -59,7 +63,7 @@ function Fieldset(props: FieldsetProps) { )} - + {children}