mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 16:55:50 +01:00
feat(mobile): add back drop to sidebar
This commit is contained in:
@@ -117,6 +117,13 @@ export default class MobileLayout {
|
||||
.setParent(appContext)
|
||||
.class("horizontal-layout")
|
||||
.cssBlock(MOBILE_CSS)
|
||||
.child(new FlexContainer("column")
|
||||
.filling()
|
||||
.id("mobile-sidebar-wrapper")
|
||||
.child(new QuickSearchWidget())
|
||||
.child(new NoteTreeWidget()
|
||||
.cssBlock(FANCYTREE_CSS))
|
||||
)
|
||||
.child(new FlexContainer("row")
|
||||
.filling()
|
||||
.child(new SidebarContainer("tree", 'column')
|
||||
@@ -125,14 +132,7 @@ export default class MobileLayout {
|
||||
.css("max-height", "100%")
|
||||
.css('padding-left', "0")
|
||||
.css('padding-right', "0")
|
||||
.css('contain', 'content')
|
||||
.child(new FlexContainer("column")
|
||||
.filling()
|
||||
.id("mobile-sidebar-wrapper")
|
||||
.child(new QuickSearchWidget())
|
||||
.child(new NoteTreeWidget()
|
||||
.cssBlock(FANCYTREE_CSS))
|
||||
))
|
||||
.css('contain', 'content'))
|
||||
.child(new ScreenContainer("detail", "column")
|
||||
.class("d-sm-flex d-md-flex d-lg-flex d-xl-flex col-12 col-sm-7 col-md-8 col-lg-9")
|
||||
.css("padding-left", "0")
|
||||
|
||||
Reference in New Issue
Block a user