Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
force scrolling when width of the content overflows
zadama9b8e65c9b71
diff --git a/src/public/javascripts/services/tab_context.js b/src/public/javascripts/services/tab_context.jsindex 22461f36a0..f5f5125db2 100644--- a/src/public/javascripts/services/tab_context.js+++ b/src/public/javascripts/services/tab_context.js@@ -11,8 +11,6 @@ import protectedSessionService from "./protected_session.js";import optionsService from "./options.js";import linkService from "./link.js";import Sidebar from "./sidebar.js";-import libraryLoader from "./library_loader.js";-import noteAutocompleteService from "./note_autocomplete.js";const $tabContentsContainer = $("#note-tab-container");@@ -291,6 +289,10 @@ class TabContext {}getComponent() {+ if (!this.components[this.type]) {+ throw new Error("Could not find component for type: " + this.type);+ }+return this.components[this.type];}diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.cssindex d3544296c7..7d81adb823 100644--- a/src/public/stylesheets/style.css+++ b/src/public/stylesheets/style.css@@ -105,6 +105,7 @@ span.fancytree-node.muted { opacity: 0.6; }flex-direction: column;flex-grow: 100;height: 100%;+ width: 100%;}.note-detail-component-wrapper {