Vanessa 2022-05-28 19:54:31 +08:00
parent 60e3ae98cd
commit 8830a73210
2 changed files with 4 additions and 1 deletions

View file

@ -146,7 +146,7 @@
}
&__text--ellipsis {
width: 112px;
max-width: 112px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;

View file

@ -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();