Fix menu on desktop

This commit is contained in:
Dragory 2020-12-13 23:11:23 +02:00
parent 844faf7faa
commit 0b9defc5d3
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
2 changed files with 12 additions and 2 deletions

View file

@ -2,8 +2,10 @@
& .router-link-active {
@apply underline;
}
}
&.closed:not(:focus-within) {
@apply sr-only;
@screen until-sm {
.docs-sidebar.closed:not(:focus-within) {
@apply sr-only;
}
}

View file

@ -9,6 +9,14 @@ module.exports = {
full: '0 0 100%',
flexible: '1 1 0'
}
},
screens: {
sm: '640px',
'until-sm': { max: '639px' },
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px'
}
},
variants: {},