From dea7c7c603c8db888bd324b031470b5cadb8c6d8 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Mon, 14 Jan 2019 19:12:40 -0700 Subject: [PATCH] Make CodeMirror take up full height of screen --- www/js/home.js | 4 ++-- www/pages/editor.html | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/www/js/home.js b/www/js/home.js index 7883e77..2800b26 100644 --- a/www/js/home.js +++ b/www/js/home.js @@ -180,8 +180,8 @@ function openNoteActionMenu(notecard) { '' + '' + diff --git a/www/pages/editor.html b/www/pages/editor.html index f4b33ab..3e61a3e 100644 --- a/www/pages/editor.html +++ b/www/pages/editor.html @@ -20,6 +20,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. .CodeMirror { border: none; margin-top: 45px; + height: calc(100vh - 45px); } .editor-toolbar {