mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(core): adjust left-sidebar min-width to 248px (#7575)
close AF-1094
This commit is contained in:
@@ -10,5 +10,5 @@ export const appSidebarFloatingAtom = atom(isMobile);
|
||||
export const appSidebarResizingAtom = atom(false);
|
||||
export const appSidebarWidthAtom = atomWithStorage(
|
||||
'app-sidebar-width',
|
||||
256 /* px */
|
||||
248 /* px */
|
||||
);
|
||||
|
||||
@@ -36,7 +36,7 @@ export type History = {
|
||||
};
|
||||
|
||||
const MAX_WIDTH = 480;
|
||||
const MIN_WIDTH = 256;
|
||||
const MIN_WIDTH = 248;
|
||||
|
||||
export function AppSidebar({
|
||||
children,
|
||||
|
||||
Reference in New Issue
Block a user