Skip to content

Commit

Permalink
correct margins to center button
Browse files Browse the repository at this point in the history
  • Loading branch information
juliawegmayr committed Dec 30, 2024
1 parent 5f20ec2 commit 2c3c012
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions packages/admin/admin-theme/src/componentsTheme/MuiCardHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,20 @@ export const getMuiCardHeader: GetMuiComponentTheme<"MuiCardHeader"> = (componen
root: {
backgroundColor: palette.grey["A200"],
color: "#fff",
paddingBottom: "20px",
paddingTop: "20px",
},
action: {
lineHeight: 0,
marginBottom: 0,
marginTop: 0,
alignSelf: "center",

"& > .MuiButton-root": {
marginTop: "-12px",
marginBottom: "-12px",
marginTop: "-10px",
marginBottom: "-10px",
},
"& > .MuiIconButton-root": {
marginTop: "-12px",
marginBottom: "-12px",
marginTop: "-10px",
marginBottom: "-10px",
},
},
}),
Expand Down

0 comments on commit 2c3c012

Please sign in to comment.