This commit is contained in:
parent
60e3ae98cd
commit
8830a73210
2 changed files with 4 additions and 1 deletions
|
@ -146,7 +146,7 @@
|
|||
}
|
||||
|
||||
&__text--ellipsis {
|
||||
width: 112px;
|
||||
max-width: 112px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue