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.

fix: error style of sidebar (#1981)

Qi143a55a6e894
diff --git a/apps/web/src/components/pure/workspace-slider-bar/style.ts b/apps/web/src/components/pure/workspace-slider-bar/style.ts
index a5aa472162..ed11c1c5f0 100644
--- a/apps/web/src/components/pure/workspace-slider-bar/style.ts
+++ b/apps/web/src/components/pure/workspace-slider-bar/style.ts
@@ -112,6 +112,7 @@ export const StyledScrollWrapper = styled('div')<{
showTopBorder: boolean;
}>(({ showTopBorder, theme }) => {
return {
+ maxHeight: '50%',
overflowY: 'auto',
borderTop: '1px solid',
borderColor: showTopBorder ? theme.colors.borderColor : 'transparent',
diff --git a/packages/component/src/theme/global.css b/packages/component/src/theme/global.css
index d6e5984dba..8de1e0dbdd 100644
--- a/packages/component/src/theme/global.css
+++ b/packages/component/src/theme/global.css
@@ -195,7 +195,7 @@ input[type='number']::-webkit-outer-spin-button {
}
.affine-default-page-block-title-container {
- margin-top: 78px;
+ margin-top: 40px;
margin-bottom: 40px;
transition: margin-top 0.2s;
}