Skip to content

Commit 1c74c05

Browse files
committed
fix(admin-ui): remove vertical padding from DialogBody when bodyPadding is false
When bodyPadding is set to false, the DialogBody component should remove both horizontal and vertical padding. Previously, only horizontal padding was removed (!wby-px-none). This change adds !wby-py-none to also remove the vertical padding, ensuring consistent behavior when padding is disabled.
1 parent 5428cc0 commit 1c74c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/admin-ui/src/Dialog/components/DialogBody.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const dialogBodyVariants = cva("wby-flex-1", {
1414
},
1515
bodyPadding: {
1616
true: "",
17-
false: "!wby-px-none"
17+
false: "!wby-px-none !wby-py-none"
1818
}
1919
},
2020
defaultVariants: {

0 commit comments

Comments
 (0)