mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Apply border radius of plain text input to code mirror as well (#2067)
This commit is contained in:
parent
a87d877082
commit
9d9d4a97c7
1 changed files with 12 additions and 3 deletions
|
@ -164,19 +164,28 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
border-top: 1px solid var(--border);
|
border-top: 1px solid var(--border);
|
||||||
border-radius: 0 0 5px 5px;
|
border-radius: 0 0 5px 5px;
|
||||||
|
|
||||||
|
:global(.CodeMirror) {
|
||||||
|
background: var(--code-bg);
|
||||||
|
border-radius: 0 0 5px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
&.is-default {
|
&.is-default {
|
||||||
border-top: none;
|
border-top: none;
|
||||||
border-bottom: 1px solid var(--border);
|
border-bottom: 1px solid var(--border);
|
||||||
border-radius: 5px 5px 0 0;
|
border-radius: 5px 5px 0 0;
|
||||||
|
|
||||||
|
:global(.CodeMirror) {
|
||||||
|
border-radius: 5px 5px 0 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.alone {
|
&.alone {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
|
||||||
|
|
||||||
:global(.CodeMirror) {
|
:global(.CodeMirror) {
|
||||||
background: var(--code-bg);
|
border-radius: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.CodeMirror-lines) {
|
:global(.CodeMirror-lines) {
|
||||||
|
|
Loading…
Reference in a new issue