Let it be

This commit is contained in:
Manav Rathi
2024-10-04 14:40:30 +05:30
parent 0a8cfb108a
commit 351026377f

View File

@@ -66,14 +66,16 @@ export const getComponents = (
overflowY: "auto",
},
"& .MuiDialogActions-root": {
// MUI default is way different, our designs usually want
// the buttons to align with the heading / content.
// MUI default is way since they cluster the buttons to the
// right, our designs usually want the buttons to align with
// the heading / content.
padding: "16px",
},
".MuiDialogTitle-root + .MuiDialogContent-root": {
// MUI resets this to 0 when the content doesn't use
// dividers (none of ours do). TODO: That is a better
// default, otherwise we end up with double padding.
// dividers (none of ours do). I feel that is a better
// default, since unlike margins, padding doesn't collapse,
// but changing this now would break existing layouts.
paddingTop: "16px",
},
},