From f8d32d64f5e198b2cc7a59442a0626420985cca1 Mon Sep 17 00:00:00 2001 From: azivner Date: Mon, 24 Dec 2018 22:39:17 +0100 Subject: [PATCH] content scrolling --- src/public/stylesheets/mobile.css | 34 +++++++++++++++++++++++++------ src/views/mobile.ejs | 12 ++++++----- 2 files changed, 35 insertions(+), 11 deletions(-) diff --git a/src/public/stylesheets/mobile.css b/src/public/stylesheets/mobile.css index 03ef85ba7..e30d5742e 100644 --- a/src/public/stylesheets/mobile.css +++ b/src/public/stylesheets/mobile.css @@ -1,10 +1,14 @@ html, body { - height:100vh; - width:100vw; + height: 100%; + width: 100%; margin: 0; padding: 0; } +#container-row { + height: 100%; +} + #tree { font-size: larger; width: 100vw; @@ -13,12 +17,30 @@ html, body { } #detail { - padding: 10px 20px 10px 35px; + padding: 20px 20px 10px 35px; + height: 100%; + flex-direction: column; } -#close-detail-button { - padding-left: 1em; - padding-right: 1em; +#detail-content { + position: relative; + overflow: auto; + flex-direction: column; + height: 100%; +} + +#note-title-row { + display: flex; + padding-right: 10px; +} + +.action-button { + background: none; + border: none; + cursor: pointer; + font-size: 1.5em; + padding-left: 0.5em; + padding-right: 0.5em; } .fancytree-custom-icon { diff --git a/src/views/mobile.ejs b/src/views/mobile.ejs index d2239b7b8..a97e34dba 100644 --- a/src/views/mobile.ejs +++ b/src/views/mobile.ejs @@ -5,19 +5,21 @@ Trilium Notes -
+
-
-
+
+
+ + -
-
+