Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: adjust layout

QiShaoXuancf2767c56867
diff --git a/packages/app/src/components/workspace-slider-bar/style.ts b/packages/app/src/components/workspace-slider-bar/style.ts
index 6f380b43e1..a8f09dcc7b 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 92e2ff7b44..9bda7bdcf9 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;
}