mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
force scrolling when width of the content overflows
This commit is contained in:
parent
bb8b563ece
commit
a9b8e65c9b
@ -11,8 +11,6 @@ import protectedSessionService from "./protected_session.js";
|
|||||||
import optionsService from "./options.js";
|
import optionsService from "./options.js";
|
||||||
import linkService from "./link.js";
|
import linkService from "./link.js";
|
||||||
import Sidebar from "./sidebar.js";
|
import Sidebar from "./sidebar.js";
|
||||||
import libraryLoader from "./library_loader.js";
|
|
||||||
import noteAutocompleteService from "./note_autocomplete.js";
|
|
||||||
|
|
||||||
const $tabContentsContainer = $("#note-tab-container");
|
const $tabContentsContainer = $("#note-tab-container");
|
||||||
|
|
||||||
@ -291,6 +289,10 @@ class TabContext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getComponent() {
|
getComponent() {
|
||||||
|
if (!this.components[this.type]) {
|
||||||
|
throw new Error("Could not find component for type: " + this.type);
|
||||||
|
}
|
||||||
|
|
||||||
return this.components[this.type];
|
return this.components[this.type];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -105,6 +105,7 @@ span.fancytree-node.muted { opacity: 0.6; }
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-grow: 100;
|
flex-grow: 100;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-detail-component-wrapper {
|
.note-detail-component-wrapper {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user