Skip to content

Commit

Permalink
Fixed josdejong#502: CSS rule * { font-family: ... } resulting in A…
Browse files Browse the repository at this point in the history
…ce editor (`code` mode) not having a mono-space font anymore
  • Loading branch information
josdejong committed Dec 16, 2019
1 parent 4eb55bf commit 7c3695d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions src/scss/jsoneditor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7c3695d

Please sign in to comment.