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
feat(native-buttons): apply full width regardless
Elian Doran8d2a8ead0413
diff --git a/src/public/app/layouts/desktop_layout.js b/src/public/app/layouts/desktop_layout.jsindex eaa3ba0117..d5e9f8c68e 100644--- a/src/public/app/layouts/desktop_layout.js+++ b/src/public/app/layouts/desktop_layout.js@@ -94,11 +94,12 @@ export default class DesktopLayout {const launcherPaneIsHorizontal = (options.get("layoutOrientation") === "horizontal");const launcherPane = this.#buildLauncherPane(launcherPaneIsHorizontal);+ const fullWidthTabBar = true;- return new RootContainer(launcherPaneIsHorizontal)+ return new RootContainer(true).setParent(appContext).class((launcherPaneIsHorizontal ? "horizontal" : "vertical") + "-layout")- .optChild(launcherPaneIsHorizontal, new FlexContainer('row')+ .optChild(fullWidthTabBar, new FlexContainer('row').class("tab-row-container").child(new LeftPaneToggleWidget(true)).child(new TabRowWidget().class("full-width"))@@ -118,7 +119,7 @@ export default class DesktopLayout {.child(new FlexContainer('column').id('rest-pane').css("flex-grow", "1")- .optChild(!launcherPaneIsHorizontal, new FlexContainer('row')+ .optChild(!fullWidthTabBar, new FlexContainer('row').child(new TabRowWidget()).css('height', '40px'))