diff options
author | yami <34216515+kn-yami@users.noreply.github.com> | 2019-07-30 16:09:52 +0200 |
---|---|---|
committer | yami <34216515+kn-yami@users.noreply.github.com> | 2019-07-30 16:09:52 +0200 |
commit | d80d5688e6177d81513aa5b4d55cb479220c85b0 (patch) | |
tree | e3073fdb5c7ee459636591b69dab8720e2529d61 /devtools/client/jsonview/css | |
parent | f635feec77ad32c3e1251a91a145ebee185fee31 (diff) | |
download | UXP-d80d5688e6177d81513aa5b4d55cb479220c85b0.tar UXP-d80d5688e6177d81513aa5b4d55cb479220c85b0.tar.gz UXP-d80d5688e6177d81513aa5b4d55cb479220c85b0.tar.lz UXP-d80d5688e6177d81513aa5b4d55cb479220c85b0.tar.xz UXP-d80d5688e6177d81513aa5b4d55cb479220c85b0.zip |
Issue #1138 - Part 3: avoid quirks mode in JSON Viewer
Mozilla Bug 1368899
Diffstat (limited to 'devtools/client/jsonview/css')
-rw-r--r-- | devtools/client/jsonview/css/general.css | 7 | ||||
-rw-r--r-- | devtools/client/jsonview/css/main.css | 4 |
2 files changed, 4 insertions, 7 deletions
diff --git a/devtools/client/jsonview/css/general.css b/devtools/client/jsonview/css/general.css index 89b3b3c98..d80720f4f 100644 --- a/devtools/client/jsonview/css/general.css +++ b/devtools/client/jsonview/css/general.css @@ -30,6 +30,7 @@ pre { #json { display: none; + white-space: pre-wrap; } /******************************************************************************/ @@ -43,9 +44,3 @@ body.theme-dark { .theme-dark pre { background-color: var(--theme-body-background); } - -/******************************************************************************/ -/* Fixes for quirks mode */ -table { - font: inherit; -} diff --git a/devtools/client/jsonview/css/main.css b/devtools/client/jsonview/css/main.css index 04f3cb87c..c75d7cea0 100644 --- a/devtools/client/jsonview/css/main.css +++ b/devtools/client/jsonview/css/main.css @@ -3,7 +3,9 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -@import "resource://devtools/client/shared/components/reps/reps.css"; +@import "resource://devtools/client/themes/variables.css"; +@import "resource://devtools/client/themes/common.css"; +@import "resource://devtools/client/themes/toolbars.css"; @import "resource://devtools/client/shared/components/tree/tree-view.css"; @import "resource://devtools/client/shared/components/tabs/tabs.css"; |