new options

This commit is contained in:
Mateusz Gruszczyński
2025-11-03 12:34:08 +01:00
parent f2c9f166f6
commit 087d2a46c3
4 changed files with 250 additions and 30 deletions

29
static/css/edit.css Normal file
View File

@@ -0,0 +1,29 @@
.CodeMirror {
height: 500px !important;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
font-size: 13px;
}
.CodeMirror-gutters {
background-color: #263238;
border-right: 1px solid #37474f;
}
.CodeMirror-linenumber {
color: #546e7a;
}
.CodeMirror-cursor {
border-left: 1px solid #fff;
}
#edit_form button {
white-space: nowrap;
}
@media (max-width: 768px) {
.CodeMirror {
height: 300px !important;
font-size: 12px;
}
}