mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 20:39:31 +08:00
The list of CSS properties we check for colors wasn't thorough and didn't include `border-left/right/top/bottom` or `background` on its own. This CL fixes that and disables the rule for any current violations. Bug: 1152736 Change-Id: Ic732d653fdfab0462a04dc891bcece1f44e5d471 No-Presubmit: true Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2676157 Reviewed-by: Paul Lewis <aerotwist@chromium.org> Commit-Queue: Paul Lewis <aerotwist@chromium.org> Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
29 lines
676 B
CSS
29 lines
676 B
CSS
/**
|
|
* Copyright 2017 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.
|
|
*/
|
|
|
|
.styles-element-state-pane {
|
|
overflow: hidden;
|
|
padding-left: 2px;
|
|
background-color: var(--toolbar-bg-color);
|
|
border-bottom: 1px solid rgb(189 189 189); /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
margin-top: 0;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.styles-element-state-pane > div {
|
|
margin: 8px 4px 6px;
|
|
}
|
|
|
|
.styles-element-state-pane > table {
|
|
width: 100%;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
.styles-element-state-pane td {
|
|
padding: 0;
|
|
}
|