Skip to content

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

:bug: Prevent nested tabs from covering parent tab headers https://github.com/siyuan-note/siyuan/issues/19545

Danielb1212f6bff7b
diff --git a/app/src/assets/scss/protyle/_tabs.scss b/app/src/assets/scss/protyle/_tabs.scss
index a084401daf..e89850109b 100644
--- a/app/src/assets/scss/protyle/_tabs.scss
+++ b/app/src/assets/scss/protyle/_tabs.scss
@@ -4,6 +4,8 @@
padding: 0;
margin: 4px 0;
position: relative;
+ // 将嵌套页签的层级限制在当前块内,避免子页签吸顶栏覆盖父页签栏。
+ isolation: isolate;
border: 1px solid var(--b3-border-color);
border-radius: var(--b3-border-radius-b);