feat(mobile): change context menu icon on horizontal layout

This commit is contained in:
Elian Doran
2024-11-23 09:48:18 +02:00
parent ea399e590d
commit fbae0062af
2 changed files with 11 additions and 3 deletions

View File

@@ -138,13 +138,13 @@ export default class MobileLayout {
.child(new FlexContainer('row').contentSized()
.css('font-size', 'larger')
.css('align-items', 'center')
.optChild(!launcherPaneIsHorizontal, new MobileDetailMenuWidget().contentSized())
.optChild(!launcherPaneIsHorizontal, new MobileDetailMenuWidget(false).contentSized())
.child(new NoteTitleWidget()
.contentSized()
.css("position: relative;")
.css("top: 5px;")
)
.optChild(launcherPaneIsHorizontal, new MobileDetailMenuWidget().contentSized())
.optChild(launcherPaneIsHorizontal, new MobileDetailMenuWidget(true).contentSized())
.child(new CloseDetailButtonWidget().contentSized()))
.child(new SharedInfoWidget())
.child(new FloatingButtons()