Skip to content

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

:art: Improve mobile outline fold toggle interaction https://github.com/siyuan-note/siyuan/issues/19030

Daniel01ce2b1519aa
diff --git a/app/src/assets/scss/main/_mobile.scss b/app/src/assets/scss/main/_mobile.scss
index dc910ea6e5..de7a8c90ce 100644
--- a/app/src/assets/scss/main/_mobile.scss
+++ b/app/src/assets/scss/main/_mobile.scss
@@ -63,6 +63,21 @@ body.mobile-keyboard--open {
}
}
+.fn__flex-column[data-type="sidebar-outline"] {
+ .b3-list-item__toggle--hl {
+ &::before {
+ inset-inline-end: -22px;
+ z-index: 1;
+ }
+
+ &:hover,
+ &:active {
+ color: var(--b3-theme-on-surface-light);
+ background-color: transparent;
+ }
+ }
+}
+
.b3-list--mobile {
& > .fn__flex-column {