Skip to content

Build your personal knowledge base with Trilium Notes

fixed mobile layout

zadam649862b01ce8
diff --git a/Dockerfile b/Dockerfile
index b47edaf423..2b5244e38a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:12.9.1-alpine
+FROM node:12.10.0-alpine
# Create app directory
WORKDIR /usr/src/app
diff --git a/bin/build-server.sh b/bin/build-server.sh
index 12d46e6607..ed47eed558 100755
--- a/bin/build-server.sh
+++ b/bin/build-server.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
PKG_DIR=dist/trilium-linux-x64-server
-NODE_VERSION=12.9.1
+NODE_VERSION=12.10.0
rm -r $PKG_DIR
mkdir $PKG_DIR
diff --git a/package-lock.json b/package-lock.json
index cefd7edd27..697f4809dd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -13610,7 +13610,7 @@
},
"xmlbuilder": {
"version": "9.0.7",
- "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz",
+ "resolved": "http://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz",
"integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=",
"dev": true
},
diff --git a/src/views/mobile.ejs b/src/views/mobile.ejs
index 2056e57f74..fc9fa674ce 100644
--- a/src/views/mobile.ejs
+++ b/src/views/mobile.ejs
@@ -38,36 +38,38 @@
<div id="note-tab-container">
<div class="note-tab-content note-tab-content-template">
- <div class="note-title-row">
- <button type="button" class="note-menu-button action-button jam jam-align-justify"></button>
+ <div class="note-detail-content" style="width: 100%">
+ <div class="note-title-row">
+ <button type="button" class="note-menu-button action-button jam jam-align-justify"></button>
- <input autocomplete="off" value="" class="form-control note-title" tabindex="1">
+ <input autocomplete="off" value="" class="form-control note-title" tabindex="1">
- <button type="button" class="close-detail-button action-button d-sm-none d-md-none d-lg-none d-xl-none" aria-label="Close">
- <span aria-hidden="true">&times;</span>
- </button>
- </div>
-
- <div class="note-detail-component-wrapper">
- <div class="note-detail-text note-detail-component" tabindex="10000">
- <div class="note-detail-text-editor"></div>
+ <button type="button" class="close-detail-button action-button d-sm-none d-md-none d-lg-none d-xl-none" aria-label="Close">
+ <span aria-hidden="true">&times;</span>
+ </button>
</div>
- <div class="note-detail-code note-detail-component">
- <div class="note-detail-code-editor"></div>
- </div>
+ <div class="note-detail-component-wrapper">
+ <div class="note-detail-text note-detail-component" tabindex="10000">
+ <div class="note-detail-text-editor"></div>
+ </div>
- <% include details/search.ejs %>
+ <div class="note-detail-code note-detail-component">
+ <div class="note-detail-code-editor"></div>
+ </div>
- <% include details/render.ejs %>
+ <% include details/search.ejs %>
- <% include details/file.ejs %>
+ <% include details/render.ejs %>
- <% include details/image.ejs %>
+ <% include details/file.ejs %>
- <% include details/relation_map.ejs %>
+ <% include details/image.ejs %>
- <% include details/protected_session_password.ejs %>
+ <% include details/relation_map.ejs %>
+
+ <% include details/protected_session_password.ejs %>
+ </div>
</div>
</div>
</div>