Skip to content

feat: 编辑器增加居中视图,开启后内容将在中间显示,两侧留白#952

Merged
codexu merged 3 commits intodevfrom
feature/editor-centered-content
Mar 6, 2026
Merged

feat: 编辑器增加居中视图,开启后内容将在中间显示,两侧留白#952
codexu merged 3 commits intodevfrom
feature/editor-centered-content

Conversation

@codexu
Copy link
Copy Markdown
Owner

@codexu codexu commented Mar 6, 2026

No description provided.

codexu and others added 3 commits March 6, 2026 23:53
- 新增「居中内容」设置项,启用后编辑器内容居中显示两侧留白
- 移除「页面视图」「打字机模式」「代码块行号」三个冗余设置项

Co-Authored-By: Claude Opus 4.6 <[email protected]>
移动端设备始终保持全宽度显示,不应用居中布局

Co-Authored-By: Claude Opus 4.6 <[email protected]>
将滚动容器和居中内容分离,确保滚动条显示在留白区域外侧

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@codexu codexu merged commit ecc17d0 into dev Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant