fix: 侧边栏面板开关按钮避开桌面端原生标题带 - #82
Open
jiejie2023 wants to merge 1 commit into
Open
Conversation
桌面端右上角常驻的展开/收起按钮(position:fixed; top:3px)与 Electron 原生窗口按钮重叠,点击目标被标题带遮挡。修改为: - 右面板打开时,两个开关按钮放入面板顶部新增的 .panelTopbar 控制行(原生标题带下方) - 右面板关闭时,保留 .toggleCluster 兜底,桌面端下移到标题带下方(--dsh-desktop-titlebar-inset) - 移除 tab 条为角落按钮预留的 72px 内边距
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题描述
桌面端(Electron)右面板右上角常驻的「展开/收起」双按钮(position: fixed; top: 3px)与窗口原生标题栏按钮重叠,点击目标被标题带遮挡,面板开关不好点。
修改内容
验证
在 DSH 桌面端实测:右面板打开/关闭、底部面板展开/收起均正常,按钮不再与原生标题带重叠。