Skip to content

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

:bug: Prevent mobile block selection overlay from covering the title bar https://github.com/siyuan-note/siyuan/issues/19233

Daniel554a8197f9af
diff --git a/app/src/assets/scss/main/_mobile.scss b/app/src/assets/scss/main/_mobile.scss
index 6c91040e54..b4b79506f2 100644
--- a/app/src/assets/scss/main/_mobile.scss
+++ b/app/src/assets/scss/main/_mobile.scss
@@ -619,6 +619,11 @@ body.mobile-topbar--merged {
will-change: transform;
}
+ > .protyle-content {
+ // 将正文高亮和吸顶元素限制在独立层叠上下文内,避免滚动时覆盖导航栏。
+ isolation: isolate;
+ }
+
> .protyle-content::before {
display: block;
height: calc(var(--mobile-topbar-height) + var(--mobile-breadcrumb-height));