style(mobile): center launcher buttons

This commit is contained in:
Elian Doran 2025-01-04 22:49:11 +02:00
parent de7248b7ce
commit 5250a6d8da
No known key found for this signature in database
2 changed files with 9 additions and 2 deletions

View File

@ -1230,6 +1230,14 @@ body.mobile #launcher-pane .dropdown-menu.show {
transform: translateX(0);
}
body.mobile #launcher-container {
justify-content: center;
}
body.mobile #launcher-container button {
margin: 0 16px;
}
body.mobile .modal.show {
background-color: rgba(0, 0, 0, 0.7);
}

View File

@ -281,8 +281,7 @@ function buildHiddenSubtreeDefinition(): Item {
{ id: '_lbMobileBackInHistory', title: t("hidden-subtree.go-to-previous-note-title"), type: 'launcher', builtinWidget: 'backInHistoryButton', icon: 'bx bxs-chevron-left',
attributes: [ { type: 'label', name: 'docName', value: 'launchbar_history_navigation' } ]},
{ id: '_lbMobileForwardInHistory', title: t("hidden-subtree.go-to-next-note-title"), type: 'launcher', builtinWidget: 'forwardInHistoryButton', icon: 'bx bxs-chevron-right',
attributes: [ { type: 'label', name: 'docName', value: 'launchbar_history_navigation' } ]},
{ id: '_lbMobileSpacerEnd', title: t("hidden-subtree.spacer-title"), type: 'launcher', builtinWidget: 'spacer', baseSize: "0", growthFactor: "1" },
attributes: [ { type: 'label', name: 'docName', value: 'launchbar_history_navigation' } ]}
]
}
]