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

View File

@@ -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,

View File

@@ -1,14 +1,8 @@
debug-menu {
display: none !important;
}
.affine-block-children-container.edgeless {
background-color: #fff;
}
.affine-default-page-block-title-container {
margin-top: 78px;
margin-bottom: 40px;
}
.affine-editor-container {
background: transparent !important;
.affine-default-page-block-container {
width: 686px !important;
}