Skip to content

fix(ui): 大纲浮层不再压住工具栏的编辑按钮 - #8

Merged
Arismemo merged 1 commit into
mainfrom
fix/outline-overlap
Sep 25, 2026
Merged

Arismemo merged 1 commit into
mainfrom
fix/outline-overlap

Conversation

@Arismemo

Copy link
Copy Markdown
Owner

大纲 / 恢复按钮原先 position: fixed 写死 top: 4.3rem,工具栏换行变高时
(≤1300px 竖排、按钮折行)就会盖住右上角的预览/编辑。改为相对 .detail-body
绝对定位,始终贴在工具栏下方,且不随正文滚动。

顺带修复:≤1300px 工具栏竖排后 .detail-identity 的 flex-basis 10rem 变成高度,
标题和按钮之间撑出约 150px 空白。

🤖 Generated with Claude Code

大纲 / 恢复按钮原先 position: fixed 写死 top: 4.3rem,工具栏换行变高时
(≤1300px 竖排、按钮折行)就会盖住右上角的预览/编辑。改为相对 .detail-body
绝对定位,始终贴在工具栏下方,且不随正文滚动。

顺带修复:≤1300px 工具栏竖排后 .detail-identity 的 flex-basis 10rem 变成高度,
标题和按钮之间撑出约 150px 空白。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Arismemo
Arismemo merged commit 1dcdbdb into main Sep 25, 2026
2 checks passed
@Arismemo
Arismemo deleted the fix/outline-overlap branch September 25, 2026 10:07
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