Skip to content

Commit

Permalink
Change MuiAccordion border styling according to Figma FieldSet design
Browse files Browse the repository at this point in the history
  • Loading branch information
NataliaVizintini committed Oct 30, 2023
1 parent 801986c commit e8366b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export const getMuiAccordion: GetMuiComponentTheme<"MuiAccordion"> = (component,
},
styleOverrides: mergeOverrideStyles<"MuiAccordion">(component?.styleOverrides, {
root: {
border: `solid ${palette.divider}`,
border: "none",
borderRadius: "4px",
boxShadow: "0px 0px 4px 0px rgba(0,0,0,0.08)",
"&:not(:last-child)": {
marginBottom: "20px",
},
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/admin/src/common/FieldSet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const styles = (theme: Theme) =>
children: {
display: "flex",
flexDirection: "column",
borderTop: `solid ${theme.palette.divider}`,
borderTop: `1px solid ${theme.palette.divider}`,
padding: "20px",
[theme.breakpoints.up("sm")]: {
padding: "40px",
Expand Down

0 comments on commit e8366b7

Please sign in to comment.