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 setting sidebar (#4368)

Qiacecb4bf6965
diff --git a/apps/core/src/components/affine/setting-modal/setting-sidebar/style.css.ts b/apps/core/src/components/affine/setting-modal/setting-sidebar/style.css.ts
index 3e24e92b74..4785215fcd 100644
--- a/apps/core/src/components/affine/setting-modal/setting-sidebar/style.css.ts
+++ b/apps/core/src/components/affine/setting-modal/setting-sidebar/style.css.ts
@@ -61,7 +61,12 @@ export const sidebarSelectItem = style({
},
},
});
-
+globalStyle(`${settingSlideBar} .icon`, {
+ width: '16px',
+ height: '16px',
+ marginRight: '10px',
+ flexShrink: 0,
+});
globalStyle(`${settingSlideBar} .setting-name`, {
minWidth: 0,
overflow: 'hidden',