feat(mobile/split): layout horizontally on tablet

This commit is contained in:
Elian Doran
2025-11-29 21:06:11 +02:00
parent e0c0a423c1
commit e3a2623a53
2 changed files with 8 additions and 6 deletions

View File

@@ -2626,10 +2626,12 @@ iframe.print-iframe {
width: 100%;
}
body.mobile .split-note-container-widget {
flex-direction: column !important;
.note-split {
width: 100%;
@media (max-width: 991px) {
body.mobile .split-note-container-widget {
flex-direction: column !important;
.note-split {
width: 100%;
}
}
}

View File

@@ -28,7 +28,7 @@ export default function MobileDetailMenu() {
{ kind: "separator" },
{ title: t("mobile_detail_menu.note_revisions"), command: "showRevisions", uiIcon: "bx bx-history" },
{ kind: "separator" },
{ title: t("create_pane_button.create_new_split"), command: "openNewNoteSplit", uiIcon: "bx bx-dock-right" }
{ title: t("create_pane_button.create_new_split"), command: "openNewNoteSplit", uiIcon: "bx bx-dock-right" },
],
selectMenuItemHandler: async ({ command }) => {
if (command === "insertChildNote") {