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}