diff options
Diffstat (limited to 'devtools/client/jsonview/css/text-panel.css')
-rw-r--r-- | devtools/client/jsonview/css/text-panel.css | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/devtools/client/jsonview/css/text-panel.css b/devtools/client/jsonview/css/text-panel.css new file mode 100644 index 000000000..99b238556 --- /dev/null +++ b/devtools/client/jsonview/css/text-panel.css @@ -0,0 +1,26 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * 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/. */ + +/******************************************************************************/ +/* Text Panel */ + +.textPanelBox { + height: 100%; +} + +.textPanelBox .data { + overflow: auto; + height: 100%; +} + +.textPanelBox pre { + margin: 0; + font-family: var(--monospace-font-family); + color: var(--theme-content-color1); +} + +:root[platform="linux"] .textPanelBox .data { + font-size: 80%; /* To handle big monospace font */ +} |