diff --git a/docs/Release Notes/Release Notes/v0.92.8-beta.md b/docs/Release Notes/Release Notes/v0.92.8-beta.md index 41c0240ad..ab68394b8 100644 --- a/docs/Release Notes/Release Notes/v0.92.8-beta.md +++ b/docs/Release Notes/Release Notes/v0.92.8-beta.md @@ -20,7 +20,7 @@ * Document structure is now precalculated, so start-up time should be slightly increased. * Optimized the content in order to reduce the size on disk. * Mobile improvements: - * The following dialogs are now accessible: bulk actions, branch prefix, include note, add link, sort child notes. + * The following dialogs are now accessible: bulk actions, branch prefix, include note, add link, sort child notes, note type selector. * Modals now have a safe margin on their bottom and are scrollable. ## 🌍 Internationalization diff --git a/src/public/app/layouts/desktop_layout.ts b/src/public/app/layouts/desktop_layout.ts index 27ae002e2..deaea53b9 100644 --- a/src/public/app/layouts/desktop_layout.ts +++ b/src/public/app/layouts/desktop_layout.ts @@ -254,7 +254,7 @@ export default class DesktopLayout { ) // Remove once modals are all merged .child(new PasswordNoteSetDialog()) - .child(new NoteTypeChooserDialog()) + .child(new CloneToDialog()) .child(new MoveToDialog()) .child(new ImportDialog()) diff --git a/src/public/app/layouts/layout_commons.ts b/src/public/app/layouts/layout_commons.ts index 25f88e6cf..6ad8f0efe 100644 --- a/src/public/app/layouts/layout_commons.ts +++ b/src/public/app/layouts/layout_commons.ts @@ -10,6 +10,7 @@ import IncludeNoteDialog from "../widgets/dialogs/include_note.js"; import BulkActionsDialog from "../widgets/dialogs/bulk_actions.js"; import BranchPrefixDialog from "../widgets/dialogs/branch_prefix.js"; import SortChildNotesDialog from "../widgets/dialogs/sort_child_notes.js"; +import NoteTypeChooserDialog from "../widgets/dialogs/note_type_chooser.js"; export function applyModals(rootContainer: RootContainer) { rootContainer @@ -19,9 +20,8 @@ export function applyModals(rootContainer: RootContainer) { .child(new RecentChangesDialog()) .child(new BranchPrefixDialog()) .child(new SortChildNotesDialog()) - // .child(new PasswordNoteSetDialog()) .child(new IncludeNoteDialog()) - // .child(new NoteTypeChooserDialog()) + .child(new NoteTypeChooserDialog()) .child(new JumpToNoteDialog()) .child(new AddLinkDialog()) // .child(new CloneToDialog()) diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 094aaf7f8..f9c6bdec5 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -1425,6 +1425,12 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu { max-height: unset; overflow: auto; } + + body.mobile .modal-dialog .dropdown-menu { + position: static !important; + border: 0 !important; + border-radius: 0 !important; + } } /* Mobile, tablet mode */