From eab98fe7476e38dd859d5decdb9e4c74e22d7129 Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Sat, 24 Jul 2021 22:20:32 +0200 Subject: [PATCH] Fix #1356: background of tree mode is transparent instead of white --- HISTORY.md | 5 +++++ src/scss/jsoneditor/_editor.scss | 2 ++ test/test_build.html | 1 + 3 files changed, 8 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 8055dc633..818449839 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -3,6 +3,11 @@ https://github.com/josdejong/jsoneditor +## not yet published, version 9.5.3 + +- Fix #1356: background of tree mode is transparent instead of white. + + ## 2021-07-22, version 9.5.2 - Fix #675: Relative image urls in CSS replaced with absolute urls by build diff --git a/src/scss/jsoneditor/_editor.scss b/src/scss/jsoneditor/_editor.scss index 5d2ee3e6b..3c89c46fb 100644 --- a/src/scss/jsoneditor/_editor.scss +++ b/src/scss/jsoneditor/_editor.scss @@ -123,6 +123,8 @@ div { height: 100%; position: relative; overflow: auto; + background: $jse-white; + button { &.jsoneditor-button { width: 24px; diff --git a/test/test_build.html b/test/test_build.html index 70a172203..7483074be 100644 --- a/test/test_build.html +++ b/test/test_build.html @@ -13,6 +13,7 @@ line-height: 150%; width: 500px; padding-left: 40px; + background: #f5f5f5; } code {