Skip to content
Snippets Groups Projects
Commit f1e0c6e8 authored by esikkala's avatar esikkala
Browse files

Override expansion panel margins

parent 606e6857
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,15 @@ const theme = createMuiTheme({
tooltip: {
fontSize: '1 rem'
}
},
MuiExpansionPanel: {
root: {
'&$expanded': {
marginTop: 8,
marginBottom: 8
}
}
}
}
});
......
......@@ -23,14 +23,6 @@ const styles = theme => ({
borderBottomLeftRadius: 0,
borderBottomRightRadius: 0
},
expansionPanelRoot: {
margin: 0,
//marginBottom: theme.spacing(1)
},
expansionPanelRootExpanded: {
margin: theme.spacing(1),
//marginBottom: theme.spacing(1)
},
expansionPanelSummaryRoot: {
paddingLeft: theme.spacing(1),
cursor: 'default !important'
......@@ -167,10 +159,6 @@ class FacetBar extends React.Component {
<ExpansionPanel
key={facetID}
expanded={isActive}
classes={{
root: classes.expansionPanelRoot,
expanded: classes.expansionPanelRootExpanded
}}
>
<ExpansionPanelSummary
classes={{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment