From 34e53e42d754eb71ec32f9c20ccb90b546ddff27 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Wed, 20 Nov 2024 05:41:16 +1000 Subject: [PATCH] Add subtle striping for table in `` (#4089) * Add subtle striping for table in `` * Use variable instead of hardcoding colour * Align links to bottom of cells --- webapp/views/wpt-results.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webapp/views/wpt-results.js b/webapp/views/wpt-results.js index a22e6e7e4b..2bc663f489 100644 --- a/webapp/views/wpt-results.js +++ b/webapp/views/wpt-results.js @@ -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 { @@ -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; }