Issue #1138 - Part 3: avoid quirks mode in JSON Viewer

Mozilla Bug 1368899
This commit is contained in:
yami 2019-07-30 16:09:52 +02:00 committed by Roy Tam
commit 55d401707c
3 changed files with 146 additions and 127 deletions

View file

@ -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;
}

View file

@ -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";