Browse Source

Make CodeMirror take up full height of screen

tags/v1.1.0
Skylar Ittner 10 months ago
parent
commit
dea7c7c603
2 changed files with 3 additions and 2 deletions
  1. 2
    2
      www/js/home.js
  2. 1
    0
      www/pages/editor.html

+ 2
- 2
www/js/home.js View File

@@ -180,8 +180,8 @@ function openNoteActionMenu(notecard) {
'<ul>' +
'<li><a class="list-button item-link edit-note-btn" data-note="' + noteid + '"><i class="fas fa-edit fa-fw"></i> Edit</a></li>' +
'<li><a class="list-button item-link color-note-btn" data-note="' + noteid + '"><i class="fas fa-palette fa-fw"></i> Color</a></li>' +
'<li><a class="list-button item-link favorite-note-btn" data-note="' + noteid + '"><i class="fas fa-star fa-fw"></i> Favorite</a></li>' +
'<li><a class="list-button item-link listify-note-btn" data-note="' + noteid + '"><i class="fas fa-tasks fa-fw"></i> Make a List</a></li>' +
//'<li><a class="list-button item-link favorite-note-btn" data-note="' + noteid + '"><i class="fas fa-star fa-fw"></i> Favorite</a></li>' +
//'<li><a class="list-button item-link listify-note-btn" data-note="' + noteid + '"><i class="fas fa-tasks fa-fw"></i> Make a List</a></li>' +
'<li><a class="list-button item-link delete-note-btn" data-note="' + noteid + '"><i class="fas fa-trash fa-fw"></i> Delete</a></li>' +
'</ul>' +
'</div>' +

+ 1
- 0
www/pages/editor.html View File

@@ -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 {

Loading…
Cancel
Save