fix(web): center editor outline layout

This commit is contained in:
tianma-if committed 2026-08-17 23:52:40 +08:00
1 parent 780a673553
commit e1c3bb5b65
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -4100,7 +4100,7 @@ const RichEditorPane = ({
: "min-h-full items-start px-6 py-6 sm:px-10",
desktopFocusMode
? "mx-auto w-full max-w-[1400px] justify-center"
: "w-full justify-start"
: "w-full justify-center"
)}
>
<div
+2 -2
View File
@@ -2,8 +2,8 @@ export const WORKSPACE_PAGE_TITLE_CLASSNAME = "text-sm font-semibold leading-5 t
/**
* Editor Layout Constants
* - EDITOR_OUTLINE_WIDTH: Width of the left document outline (TOC) panel (default: 260px)
* - EDITOR_CONTENT_MAX_WIDTH: Maximum width of the document editor content area (default: 800px)
* - EDITOR_OUTLINE_WIDTH: Width of the document outline (TOC) panel (default: 300px)
* - EDITOR_CONTENT_MAX_WIDTH: Maximum width of the document editor content area (default: 880px)
*/
export const EDITOR_OUTLINE_WIDTH = "300px";
export const EDITOR_CONTENT_MAX_WIDTH = "880px";