Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/5019 2

Vanessa8830a73210cd
diff --git a/app/src/assets/scss/_protyle.scss b/app/src/assets/scss/_protyle.scss
index 6f5a504e0e..6f40d7e619 100644
--- a/app/src/assets/scss/_protyle.scss
+++ b/app/src/assets/scss/_protyle.scss
@@ -146,7 +146,7 @@
}
&__text--ellipsis {
- width: 112px;
+ max-width: 112px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.ts
index 2b131120c5..a6fe87ca9d 100644
--- a/app/src/protyle/breadcrumb/index.ts
+++ b/app/src/protyle/breadcrumb/index.ts
@@ -106,6 +106,9 @@ export class Breadcrumb {
}
}
});
+ this.element.addEventListener("mousewheel", (event: WheelEvent) => {
+ this.element.scrollLeft = this.element.scrollLeft + event.deltaY;
+ }, {passive: true});
/// #if !BROWSER
if ("windows" !== window.siyuan.config.system.os && "linux" !== window.siyuan.config.system.os) {
const currentWindow = getCurrentWindow();