diff --git a/packages/core/ui/theme.ts b/packages/core/ui/theme.ts index dffb04d6701..7d72a813ea0 100644 --- a/packages/core/ui/theme.ts +++ b/packages/core/ui/theme.ts @@ -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