mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	feat(client): add CSS root class for layout
This commit is contained in:
		| @@ -98,6 +98,7 @@ export default class DesktopLayout { | ||||
|  | ||||
|         return new RootContainer(launcherPaneIsHorizontal) | ||||
|             .setParent(appContext) | ||||
|             .class((launcherPaneIsHorizontal ? "horizontal" : "vertical") + "-layout") | ||||
|             .optChild(launcherPaneIsHorizontal, new FlexContainer('row')                | ||||
|                 .child(new TabRowWidget().class("full-width")) | ||||
|                 .child(new TitleBarButtonsWidget()) | ||||
|   | ||||
| @@ -117,6 +117,7 @@ export default class MobileLayout { | ||||
|  | ||||
|         return new RootContainer(launcherPaneIsHorizontal) | ||||
|             .setParent(appContext) | ||||
|             .class((launcherPaneIsHorizontal ? "horizontal" : "vertical") + "-layout") | ||||
|             .cssBlock(MOBILE_CSS) | ||||
|             .child(this.#buildLauncherPane(launcherPaneIsHorizontal)) | ||||
|             .child(new FlexContainer("row") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user