Skip to content

Commit

Permalink
Fix margin changing around accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Mar 14, 2022
1 parent b4c4814 commit 9e6ffab
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/core/ui/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ export function createJBrowseDefaultOverrides(palette: PaletteOptions = {}) {
color: generatedPalette.tertiary.main,
},
},
MuiAccordion: {
root: {
// avoid extra padding around accordion element
margin: 0,
'&$expanded': {
margin: 0,
},
},
},
MuiAccordionSummary: {
root: {
// !important needed to combat the MuiButton being applied to
Expand Down

0 comments on commit 9e6ffab

Please sign in to comment.