Fix layout

This commit is contained in:
braginini
2023-05-24 12:34:36 +02:00
parent 4b1eee2ce8
commit 55fc965484
2 changed files with 3 additions and 4 deletions

View File

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