feat(react): update media query for sidebars

This commit is contained in:
Pavel Prichodko 2022-04-14 16:18:31 +02:00
parent 51c6250b6e
commit f9abfc56d8
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
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',
}, },
}) })