From cf2767c5686781684bbac665f5bc9e2f4d275cbd Mon Sep 17 00:00:00 2001 From: QiShaoXuan Date: Wed, 1 Feb 2023 17:59:46 +0800 Subject: [PATCH] feat: adjust layout --- .../app/src/components/workspace-slider-bar/style.ts | 2 +- packages/app/src/pages/temporary.css | 12 +++--------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/packages/app/src/components/workspace-slider-bar/style.ts b/packages/app/src/components/workspace-slider-bar/style.ts index 6f380b43e..a8f09dcc7 100644 --- a/packages/app/src/components/workspace-slider-bar/style.ts +++ b/packages/app/src/components/workspace-slider-bar/style.ts @@ -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, diff --git a/packages/app/src/pages/temporary.css b/packages/app/src/pages/temporary.css index 92e2ff7b4..9bda7bdcf 100644 --- a/packages/app/src/pages/temporary.css +++ b/packages/app/src/pages/temporary.css @@ -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; }