Skip to content

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

:bug: Fix horizontal scrolling in mobile nested menus https://github.com/siyuan-note/siyuan/issues/18450

Daniel48192ed29387
diff --git a/app/src/assets/scss/component/_menu.scss b/app/src/assets/scss/component/_menu.scss
index 367d01a3ce..13a1f99350 100644
--- a/app/src/assets/scss/component/_menu.scss
+++ b/app/src/assets/scss/component/_menu.scss
@@ -66,6 +66,7 @@
padding: 0;
border-radius: 0;
width: 100%;
+ overflow-x: hidden;
transition: transform 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms;
display: block;
@@ -78,6 +79,7 @@
flex: 1;
padding: 16px 0;
max-height: none;
+ overflow-x: hidden;
background-color: var(--b3-theme-surface);
}