Skip to content

Build your personal knowledge base with Trilium Notes

feat(mobile): reorder context menu

Elian Doranea399e590d56
diff --git a/src/public/app/layouts/mobile_layout.js b/src/public/app/layouts/mobile_layout.js
index 2d41565446..c8c80bd4b3 100644
--- a/src/public/app/layouts/mobile_layout.js
+++ b/src/public/app/layouts/mobile_layout.js
@@ -138,12 +138,13 @@ export default class MobileLayout {
.child(new FlexContainer('row').contentSized()
.css('font-size', 'larger')
.css('align-items', 'center')
- .child(new MobileDetailMenuWidget().contentSized())
+ .optChild(!launcherPaneIsHorizontal, new MobileDetailMenuWidget().contentSized())
.child(new NoteTitleWidget()
.contentSized()
.css("position: relative;")
.css("top: 5px;")
)
+ .optChild(launcherPaneIsHorizontal, new MobileDetailMenuWidget().contentSized())
.child(new CloseDetailButtonWidget().contentSized()))
.child(new SharedInfoWidget())
.child(new FloatingButtons()