diff --git a/src/public/javascripts/services/mobile.js b/src/public/javascripts/services/mobile.js index 750dcf61c..e99f1934a 100644 --- a/src/public/javascripts/services/mobile.js +++ b/src/public/javascripts/services/mobile.js @@ -23,6 +23,8 @@ async function showTree() { treeService.setCurrentNotePathToHash(node); noteDetailService.switchToNote(noteId, true); + + $("#detail").modal(); }, expand: (event, data) => treeService.setExpandedToServer(data.node.data.branchId, true), collapse: (event, data) => treeService.setExpandedToServer(data.node.data.branchId, false), diff --git a/src/public/stylesheets/mobile.css b/src/public/stylesheets/mobile.css index d53e59430..c920ced2c 100644 --- a/src/public/stylesheets/mobile.css +++ b/src/public/stylesheets/mobile.css @@ -12,6 +12,23 @@ html, body { overflow: auto; } +.modal-full { + min-width: 100%; + margin: 0; +} + +.modal-backdrop { + background-color: transparent; +} + +.modal-full .modal-content { + min-height: 100vh; +} + +#detail { + +} + .fancytree-custom-icon { font-size: 2em; } diff --git a/src/views/mobile.ejs b/src/views/mobile.ejs index 3bb9f0a2f..a34c6c399 100644 --- a/src/views/mobile.ejs +++ b/src/views/mobile.ejs @@ -8,6 +8,35 @@
+ + + +