mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
feat(client): add CSS root class for layout
This commit is contained in:
parent
48a27710d6
commit
801254ce8e
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user