Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Keep the browser toolbar padding above the platform rule

Jeffrey Chenf3faa1206f31
diff --git a/app/src/assets/scss/util/_reset.scss b/app/src/assets/scss/util/_reset.scss
index 87f0c7848e..559f4e225a 100644
--- a/app/src/assets/scss/util/_reset.scss
+++ b/app/src/assets/scss/util/_reset.scss
@@ -83,11 +83,12 @@ body {
}
}
- // 非 macOS 平台不预留 macOS 窗口按钮空间
+ // 非 macOS 平台不预留 macOS 窗口按钮空间,浏览器端工具栏的标题栏避让由 .toolbar--browser 处理
&.body--windows,
&.body--linux {
--b3-toolbar-left-mac: 8px;
- .toolbar {
+
+ .toolbar:not(.toolbar--browser) {
padding: 0 0 0 5px;
}