Skip to content

Commit

Permalink
Add subtle striping for table in <wpt-results/> (#4089)
Browse files Browse the repository at this point in the history
* Add subtle striping for table in `<wpt-results/>`

* Use variable instead of hardcoding colour

* Align links to bottom of cells
  • Loading branch information
YoshiRulz authored Nov 19, 2024
1 parent 9e3aa41 commit 34e53e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webapp/views/wpt-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class WPTResults extends AmendMetadataMixin(Pluralizer(WPTColors(WPTFlags(PathIn
width: 100%;
border-collapse: collapse;
}
tr.spec {
tr:nth-child(2n), tr.spec {
background-color: var(--paper-grey-200);
}
tr td {
Expand All @@ -93,6 +93,9 @@ class WPTResults extends AmendMetadataMixin(Pluralizer(WPTColors(WPTFlags(PathIn
top: 0;
z-index: 1;
}
path-part {
vertical-align: bottom;
}
.path {
margin-bottom: 16px;
}
Expand Down

0 comments on commit 34e53e4

Please sign in to comment.