From f80b5a262dfddd776b85e200eedd117b854d4662 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Thu, 17 Feb 2022 13:01:07 -0700 Subject: [PATCH] restore easymde min height a bit --- server/public/ui/templates/_editor.ctmpl | 7 ++++++- todo.yaml | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/server/public/ui/templates/_editor.ctmpl b/server/public/ui/templates/_editor.ctmpl index e8e33a3..4da5b0a 100644 --- a/server/public/ui/templates/_editor.ctmpl +++ b/server/public/ui/templates/_editor.ctmpl @@ -5,10 +5,15 @@ #easyMDEwrap { flex-grow: 1; } + .CodeMirror { + min-height: 7em; + } .CodeMirror-scroll, .CodeMirror-sizer { - min-height: 10px !important; height: auto !important; } + .CodeMirror-sizer { + min-height: 10rem !important; + } #article { display: flex; flex-direction: column; diff --git a/todo.yaml b/todo.yaml index f2068c9..feb8184 100644 --- a/todo.yaml +++ b/todo.yaml @@ -1,11 +1,7 @@ todo: -- gitlab wiki original links are empty -- /ui/files does not redir in b1 - mark generated via meta so other files in the dir can be created, deleted, replaced safely - links like `/Smoktests` in user-files home wiki don't rewrite - map fullURLScraped->internalURL for relative links sometimes -- anchors on gitlab wikis at least are bad -- min-height for easymde - use `meta` so no need for extra level for explicit single files - scrape odo - rewrite links if available to local @@ -14,6 +10,10 @@ todo: - anchor links work - ui; last updated; 2022.02.01T12:34:56 done: +- min-height for easymde +- /ui/files does not redir in b1 +- anchors on gitlab wikis at least are bad +- gitlab wiki original links are empty - /ui/files is an about page over a redir - use `read-only` for autogenerated things;; could skip easymde and make google docs much faster - new line after original link