mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 17:56:46 +00:00
Make code editor font family follow theme (#6958)
This commit is contained in:
parent
f6eb31bf9d
commit
e465ec8835
@ -97,6 +97,7 @@ export class HaCodeEditor extends UpdatingElement {
|
|||||||
.CodeMirror {
|
.CodeMirror {
|
||||||
height: var(--code-mirror-height, auto);
|
height: var(--code-mirror-height, auto);
|
||||||
direction: var(--code-mirror-direction, ltr);
|
direction: var(--code-mirror-direction, ltr);
|
||||||
|
font-family: var(--code-font-family, monospace);
|
||||||
}
|
}
|
||||||
.CodeMirror-scroll {
|
.CodeMirror-scroll {
|
||||||
max-height: var(--code-mirror-max-height, --code-mirror-height);
|
max-height: var(--code-mirror-max-height, --code-mirror-height);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user