Skip to content

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

:lipstick: fix https://github.com/siyuan-note/siyuan/issues/5069

Vanessa53e90d4e29f8
diff --git a/app/src/assets/scss/_dialog.scss b/app/src/assets/scss/_dialog.scss
index a82c353efe..d0d63e807d 100644
--- a/app/src/assets/scss/_dialog.scss
+++ b/app/src/assets/scss/_dialog.scss
@@ -8,7 +8,7 @@
width: 100%;
height: 100%;
display: flex;
- z-index: 203;
+ z-index: 305;
&--open {
.b3-dialog__scrim {
diff --git a/app/src/assets/scss/base.scss b/app/src/assets/scss/base.scss
index 0f1b70ee57..3eb784452c 100644
--- a/app/src/assets/scss/base.scss
+++ b/app/src/assets/scss/base.scss
@@ -29,15 +29,22 @@
@import "viewer";
/*
-z-index:
-ctrl+p 搜索: 199 // 需小于 .block__popover https://github.com/siyuan-note/siyuan/issues/3515
-.hint & .protyle-util: 200 // 需小于 .b3-dialog
-.block__popover: 201 // 需小于 .b3-dialog https://ld246.com/article/1637204682648
-.b3-dialog: 203 // 需小于 #windowControls
-#windowControls: 302
-.protyle-util: 303 // 需大于 .block__popover https://github.com/siyuan-note/siyuan/issues/3276
-.b3-menu: 304 // 需大于 .block__popover
-progressLoading: 400 // 需大于 .b3-dialog
+// 需小于 .block__popover https://github.com/siyuan-note/siyuan/issues/3515
+ctrl+p 搜索: 199
+// 需小于 .b3-dialog
+.hint & .protyle-util: 200
+// 需小于 .b3-dialog https://ld246.com/article/1637204682648
+.block__popover: 201
+// 需大于 .block__popover https://github.com/siyuan-note/siyuan/issues/3276
+.protyle-util: 303
+// 需大于 .block__popover
+.b3-menu: 304
+// 需小于 #windowControls
+// 需大于 .protyle-util https://github.com/siyuan-note/siyuan/issues/5069
+.b3-dialog: 305
+// 需大于 .b3-dialog
+progressLoading: 400
+#windowControls: 502
*/
.inbox {
diff --git a/app/src/util/onGetConfig.ts b/app/src/util/onGetConfig.ts
index 8ae8c36490..d8f82b58dd 100644
--- a/app/src/util/onGetConfig.ts
+++ b/app/src/util/onGetConfig.ts
@@ -193,7 +193,7 @@ const initBar = () => {
</svg>
</button>
<div class="fn__flex-1 fn__ellipsis" id="drag"><span class="fn__none">开发版,使用前请进行备份 Development version, please backup before use</span></div>
-<div class="fn__flex" style="top: -1px;z-index: 302;right: -1px;position: relative;" id="windowControls"></div>`;
+<div class="fn__flex" style="top: -1px;z-index: 502;right: -1px;position: relative;" id="windowControls"></div>`;
document.getElementById("barBack").addEventListener("click", () => {
goBack();
});