Skip to content

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

:bug: Fix asset picker horizontal overflow https://github.com/siyuan-note/siyuan/issues/19844

Daniela93576c4cf47
diff --git a/app/src/assets/scss/business/_search.scss b/app/src/assets/scss/business/_search.scss
index 5ebf413067..4094fddabd 100644
--- a/app/src/assets/scss/business/_search.scss
+++ b/app/src/assets/scss/business/_search.scss
@@ -209,13 +209,20 @@
flex: 1;
min-height: 0;
min-width: 0;
- overflow: auto;
+ }
+
+ &__list {
+ display: flex;
+ flex-direction: column;
+ overflow-x: hidden;
+ overflow-y: auto;
}
&__preview {
display: flex;
align-items: center;
justify-content: center;
+ overflow: auto;
word-break: break-all;
img {
@@ -225,7 +232,7 @@
}
&__item {
- width: 100%;
+ flex-shrink: 0;
}
&__action {