feat: adjust layout

This commit is contained in:
QiShaoXuan
2023-02-01 17:59:46 +08:00
parent 9f69acc990
commit cf2767c568
2 changed files with 4 additions and 10 deletions
@@ -4,7 +4,7 @@ import Link from 'next/link';
export const StyledSliderBar = styled.div<{ show: boolean }>(
({ theme, show }) => {
return {
width: show ? '320px' : '0',
width: show ? '256px' : '0',
height: '100vh',
background: theme.mode === 'dark' ? '#272727' : '#FBFBFC',
boxShadow: theme.shadow.modal,