mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 17:30:36 +00:00
use monospace font for wiki and issue textareas (fix #2869)
This commit is contained in:
parent
98b58fa050
commit
3decc0b3d6
2 changed files with 16 additions and 6 deletions
|
@ -1506,6 +1506,7 @@ footer .container .links > *:first-child {
|
|||
}
|
||||
.repository.view.issue .comment-list .comment .ui.form textarea {
|
||||
height: 200px;
|
||||
font-family: "Consolas", monospace;
|
||||
}
|
||||
.repository.view.issue .comment-list .comment .edit.buttons {
|
||||
margin-top: 10px;
|
||||
|
@ -1587,6 +1588,7 @@ footer .container .links > *:first-child {
|
|||
}
|
||||
.repository .comment.form .content textarea {
|
||||
height: 200px;
|
||||
font-family: "Consolas", monospace;
|
||||
}
|
||||
.repository .label.list {
|
||||
list-style: none;
|
||||
|
@ -1966,6 +1968,9 @@ footer .container .links > *:first-child {
|
|||
.repository.wiki.start .ui.segment .mega-octicon {
|
||||
font-size: 48px;
|
||||
}
|
||||
.repository.wiki.new .CodeMirror .CodeMirror-code {
|
||||
font-family: "Consolas", monospace;
|
||||
}
|
||||
.repository.wiki.new .CodeMirror .CodeMirror-code .cm-comment {
|
||||
background: inherit;
|
||||
}
|
||||
|
|
|
@ -456,6 +456,7 @@
|
|||
}
|
||||
textarea {
|
||||
height: 200px;
|
||||
font-family: "Consolas", monospace;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -531,6 +532,7 @@
|
|||
}
|
||||
textarea {
|
||||
height: 200px;
|
||||
font-family: "Consolas", monospace;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -992,10 +994,13 @@
|
|||
|
||||
&.new {
|
||||
.CodeMirror {
|
||||
.CodeMirror-code .cm-comment {
|
||||
.CodeMirror-code {
|
||||
font-family: "Consolas", monospace;
|
||||
.cm-comment {
|
||||
background: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.editor-preview {
|
||||
background-color: white;
|
||||
|
|
Loading…
Reference in a new issue