Skip to content

fix: fix toolbar tooltip layout shift and hide native menu bar - #359

Open
Lateautumn00 wants to merge 1 commit into
floatboatai:mainfrom
Lateautumn00:main
Open

Lateautumn00 wants to merge 1 commit into
floatboatai:mainfrom
Lateautumn00:main

Conversation

@Lateautumn00

Copy link
Copy Markdown
  • 修复工具栏 tooltip 导致布局偏移:为 .nexus-toolbar-tooltip 添加 position: fixed CSS,阻止未样式的 tooltip 破坏文档流,消除鼠标悬停时 Outline/Backlinks 面板位移和滚动条出现的问题
  • tooltip 居中定位:添加 transform: translateX(-50%) 使 tooltip 以按钮为中心显示
  • 隐藏原生菜单栏:为 BrowserWindow 添加 autoHideMenuBar: true,默认隐藏 Electron 原生菜单栏(按 Alt 键可临时显示)

- Add CSS for .nexus-toolbar-tooltip with position:fixed to prevent document flow disruption
- Add transform:translateX(-50%) for centered tooltip positioning
- Add autoHideMenuBar:true to BrowserWindow to hide native menu bar (Alt to reveal)
@CLAassistant

CLAassistant commented Sep 21, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

This branch has not been deployed

No deployments
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.

2 participants