mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 09:47:56 +08:00
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
12 lines
304 B
CSS
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;
|
|
}
|