Skip to content

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

:bug: Prevent duplicate highlights on nested tab headers https://github.com/siyuan-note/siyuan/issues/19546

Daniel1721dc367556
diff --git a/app/src/assets/scss/protyle/_tabs.scss b/app/src/assets/scss/protyle/_tabs.scss
index a23c2c7df3..5bc5e96010 100644
--- a/app/src/assets/scss/protyle/_tabs.scss
+++ b/app/src/assets/scss/protyle/_tabs.scss
@@ -328,9 +328,9 @@
}
.protyle-wysiwyg {
- .protyle-wysiwyg--select .tabs-header::after,
- .protyle-wysiwyg--select-mode .tabs-header::after,
- .protyle-wysiwyg--hl .tabs-header::after {
+ .protyle-wysiwyg--select > .tabs-header::after,
+ .protyle-wysiwyg--select-mode > .tabs-header::after,
+ .protyle-wysiwyg--hl > .tabs-header::after {
content: "";
position: absolute;
inset: 0;