Merge pull request #759 from toeverything/feat/ui

Feat/UI
This commit is contained in:
DarkSky
2023-02-01 23:50:02 +08:00
committed by GitHub
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 }>( export const StyledSliderBar = styled.div<{ show: boolean }>(
({ theme, show }) => { ({ theme, show }) => {
return { return {
width: show ? '320px' : '0', width: show ? '256px' : '0',
height: '100vh', height: '100vh',
background: theme.mode === 'dark' ? '#272727' : '#FBFBFC', background: theme.mode === 'dark' ? '#272727' : '#FBFBFC',
boxShadow: theme.shadow.modal, 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 { .affine-default-page-block-title-container {
margin-top: 78px; margin-top: 78px;
margin-bottom: 40px; margin-bottom: 40px;
} }
.affine-editor-container {
background: transparent !important; .affine-default-page-block-container {
width: 686px !important;
} }