From d5320bff0fc03b19e686cd8d2bdc72bcd054e387 Mon Sep 17 00:00:00 2001 From: azivner Date: Thu, 5 Oct 2017 19:28:56 -0400 Subject: [PATCH] fixed tree scrolling --- TODO | 2 ++ src/templates/app.html | 46 ++++++++++++++++++++---------------------- static/style.css | 4 +--- 3 files changed, 25 insertions(+), 27 deletions(-) diff --git a/TODO b/TODO index 8dc158f9e..bebc2b959 100644 --- a/TODO +++ b/TODO @@ -12,6 +12,8 @@ New features: - ctrl-b nad linkem by mohlo byt goto do notu - potencialne nova navigace back - forward - javascript editor +- persisted recent notes (is wiped out after reload) +- sync of current page? Refactorings: - modularize frontend diff --git a/src/templates/app.html b/src/templates/app.html index f5ab1a528..d2a7022b1 100644 --- a/src/templates/app.html +++ b/src/templates/app.html @@ -6,36 +6,34 @@
-
-
- - Create new top level note - +
+ + Create new top level note + - - Collapse tree - + + Collapse tree + - - Collapse tree - + + Collapse tree + - - Search in notes - + + Search in notes + - + +
-
-
+
diff --git a/static/style.css b/static/style.css index b7edd5481..836596023 100644 --- a/static/style.css +++ b/static/style.css @@ -4,12 +4,10 @@ height: 100vh; display: grid; - grid-template-areas: "tree title" - "tree note-content" + grid-template-areas: "tree-actions title" "tree note-content"; grid-template-columns: 2fr 5fr; grid-template-rows: auto - auto 1fr; justify-content: center; grid-gap: 10px;