Add CodeMirror as profile editor

Early integration with no code formatting yet, to support fitting
sidebar to editor content (profile text).
This commit is contained in:
Norbert Renner 2018-03-09 17:03:39 +01:00
parent 24d8ebebf3
commit 0c1879856c
4 changed files with 34 additions and 13 deletions

View file

@ -133,7 +133,7 @@ footer {
}
/* track messages (data tab) */
#tab_data, #profile_upload {
#tab_data, .CodeMirror {
font-size: x-small;
}
@ -314,3 +314,13 @@ table.dataTable.display tbody tr.even:hover {
.leaflet-sidebar-tabs > ul:last-child {
display: none;
}
/*
* CodeMirror
*/
.CodeMirror {
height: 100%;
border: 1px solid #ddd;
}