Files
react-native-devtools-frontend/front_end/network/requestHTMLView.css
T
Joel Einbinder fc2612a359 DevTools: Network html preview should always have a white background
The iframe doesnt change colors due to dark theme, so the background
needs to stay white as well. Otherwise there is dark text on a
dark background.

Bug: 763919
Change-Id: I8a542dc613044bd8ac3d18dfccec66b65010ba0e
Reviewed-on: https://chromium-review.googlesource.com/c/1271943
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#598399}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c67340779f137602c4cb91ef5bfbaebc63226eed
2018-10-10 18:03:49 +00:00

12 lines
304 B
CSS

/*
* Copyright (c) 2018 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-theme-preserve, .html-preview-frame {
box-shadow: var(--drop-shadow);
background: white;
flex-grow: 1;
margin: 20px;
}