Skip to content

Commit 6aa6ca4

Browse files
ktranDevtools-frontend LUCI CQ
authored andcommitted
Change data grid background color to have better contrast
This copies over the colors from the network panel grid to the general data grid component. Screenshots: https://imgur.com/a/kcQIpEV Fixed: 40939838 Change-Id: I7598368bd7795c6affb8a0748cc43bb556d7b134 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6419750 Commit-Queue: Kateryna Prokopenko <[email protected]> Reviewed-by: Kateryna Prokopenko <[email protected]> Auto-Submit: Kim-Anh Tran <[email protected]>
1 parent 50a949a commit 6aa6ca4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

front_end/ui/legacy/components/data_grid/dataGrid.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,12 @@
110110
user-select: text;
111111
}
112112

113-
.data-grid tr:has(th) {
114-
background-color: var(--sys-color-surface1);
113+
.data-grid tr {
114+
background-color: var(--sys-color-surface);
115+
116+
&:has(th) {
117+
background-color: var(--sys-color-surface1);
118+
}
115119
}
116120

117121
.data-grid th {

0 commit comments

Comments
 (0)