Apply border radius of plain text input to code mirror as well (#2067)

This commit is contained in:
Henrik Giesel 2022-09-13 06:20:26 +02:00 committed by GitHub
parent a87d877082
commit 9d9d4a97c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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-radius: 0 0 5px 5px;
:global(.CodeMirror) {
background: var(--code-bg);
border-radius: 0 0 5px 5px;
}
&.is-default {
border-top: none;
border-bottom: 1px solid var(--border);
border-radius: 5px 5px 0 0;
:global(.CodeMirror) {
border-radius: 5px 5px 0 0;
}
}
&.alone {
border: none;
border-radius: 5px;
}
:global(.CodeMirror) {
background: var(--code-bg);
border-radius: 5px;
}
}
:global(.CodeMirror-lines) {