mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
fix: prevent margin collapsing (#2879)
This commit is contained in:
parent
ddb9d11039
commit
58b81e40f0
@ -25,6 +25,7 @@ const MainLayoutContainer = styled(Grid)(() => ({
|
|||||||
|
|
||||||
const MainLayoutContentWrapper = styled('main')(({ theme }) => ({
|
const MainLayoutContentWrapper = styled('main')(({ theme }) => ({
|
||||||
margin: theme.spacing(0, 'auto'),
|
margin: theme.spacing(0, 'auto'),
|
||||||
|
display: 'flex', // prevent margin collapsing
|
||||||
flex: 1,
|
flex: 1,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
backgroundColor: theme.palette.contentWrapper,
|
backgroundColor: theme.palette.contentWrapper,
|
||||||
|
Loading…
Reference in New Issue
Block a user