feat(react): update media query for sidebars

This commit is contained in:
Pavel Prichodko 2022-04-14 16:18:31 +02:00
parent 4b26f46ab7
commit 9a83f54a48
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
2 changed files with 3 additions and 3 deletions

View File

@ -22,15 +22,15 @@ export const MainSidebar = () => {
} }
const Wrapper = styled('div', { const Wrapper = styled('div', {
display: 'none',
width: 304, width: 304,
flexShrink: 0, flexShrink: 0,
flexDirection: 'column', flexDirection: 'column',
padding: '10px 16px', padding: '10px 16px',
display: 'none',
backgroundColor: '$gray-4', backgroundColor: '$gray-4',
overflowY: 'scroll', overflowY: 'scroll',
'@medium': { '@large': {
display: 'flex', display: 'flex',
}, },
}) })

View File

@ -53,7 +53,7 @@ const Wrapper = styled('div', {
backgroundColor: '$gray-4', backgroundColor: '$gray-4',
overflowY: 'scroll', overflowY: 'scroll',
'@medium': { '@large': {
display: 'block', display: 'block',
}, },
}) })