1
0
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:
Mateusz Kwasniewski 2023-01-11 18:44:21 +01:00 committed by GitHub
parent ddb9d11039
commit 58b81e40f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,