Fix layout

This commit is contained in:
braginini
2023-05-24 12:30:00 +02:00
parent 04ea9c4991
commit 4b1eee2ce8
2 changed files with 4 additions and 4 deletions

View File

@@ -45,11 +45,11 @@ module.exports = ({ theme }) => ({
// Layout
'> *': {
maxWidth: theme('maxWidth.2xl'),
marginLeft: 'auto',
marginLeft: 0,
marginRight: 'auto',
'@screen lg': {
maxWidth: theme('maxWidth.3xl'),
marginLeft: `calc(50% - min(50%, ${theme('maxWidth.lg')}))`,
marginLeft: 0,
marginRight: `calc(50% - min(50%, ${theme('maxWidth.lg')}))`,
},
},