Fixed #502: CSS rule `* { font-family: ... }` resulting in Ace editor (`code` mode) not having a mono-space font anymore

This commit is contained in:
jos 2019-12-16 20:28:46 +01:00
parent 4eb55bffde
commit 7c3695df4a
2 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,12 @@
https://github.com/josdejong/jsoneditor
## not yet published, version 8.0.1
- Fixed #502: CSS rule `* { font-family: ... }` resulting in Ace editor (`code`
mode) not having a mono-space font anymore.
## 2019-12-11, version 8.0.0
- Implemented option `timestampFormat` which allows customizing the formatting

View File

@ -325,6 +325,10 @@ div.jsoneditor-tree div.jsoneditor-show-more a:focus {
textarea.jsoneditor-text,
.ace-jsoneditor {
min-height: 150px;
* {
font-family: $jse-font-mono;
}
}
textarea {
&.jsoneditor-text {