forgejo-federation/public/less/_editor.less
Patrick G 5463640fe6 Fix double borders on edit page (#1152) (#1153)
* Fix double borders on edit page (#1152)

* Add border modifications to less file
2017-03-10 09:33:35 +08:00

21 lines
517 B
Text

.CodeMirror {
font: 14px Consolas, "Liberation Mono", Menlo, Courier, monospace;
&.cm-s-default {
border-radius: 3px;
padding: 0 !important;
}
.cm-comment {
background: inherit !important;
}
}
.repository.file.editor .tab[data-tab="write"] {
padding: 0 !important;
}
.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
border: none !important;
}
.repository.file.editor .tab[data-tab="write"] .CodeMirror {
border-left: none;
border-right: none;
border-bottom: none;
}