mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 06:16:59 +08: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 appSidebarResizingAtom = atom(false);
|
||||||
export const appSidebarWidthAtom = atomWithStorage(
|
export const appSidebarWidthAtom = atomWithStorage(
|
||||||
'app-sidebar-width',
|
'app-sidebar-width',
|
||||||
256 /* px */
|
248 /* px */
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ export type History = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const MAX_WIDTH = 480;
|
const MAX_WIDTH = 480;
|
||||||
const MIN_WIDTH = 256;
|
const MIN_WIDTH = 248;
|
||||||
|
|
||||||
export function AppSidebar({
|
export function AppSidebar({
|
||||||
children,
|
children,
|
||||||
|
|||||||
Reference in New Issue
Block a user