summaryrefslogtreecommitdiff
path: root/tests/gold
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-23 19:01:27 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-23 20:01:48 -0400
commitbd929f953734f3f5d6cf3e0534aa573b44fc45e2 (patch)
treef4acb62cc7983c64dfdf3488e8bc9e82d1c350d4 /tests/gold
parentc8ac44828eddfcb444dcdcfc7668370054e96cb9 (diff)
downloadpython-coveragepy-git-bd929f953734f3f5d6cf3e0534aa573b44fc45e2.tar.gz
fix(html): fix a few problems with the html report
- highlights weren't showing - anchored lines were not visible - some j/k motions were broken - clicking the big buttons at the top didn't work
Diffstat (limited to 'tests/gold')
-rw-r--r--tests/gold/html/styled/style.css8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/gold/html/styled/style.css b/tests/gold/html/styled/style.css
index 9cbe5fad..910a779e 100644
--- a/tests/gold/html/styled/style.css
+++ b/tests/gold/html/styled/style.css
@@ -140,7 +140,7 @@ kbd { border: 1px solid black; border-color: #888 #333 #333 #888; padding: .1em
#source { padding: 1em 0 1em 3.5rem; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
-#source p { margin-top: -4em; padding-top: 4em; position: relative; white-space: pre; }
+#source p { position: relative; white-space: pre; }
#source p * { box-sizing: border-box; }
@@ -148,7 +148,9 @@ kbd { border: 1px solid black; border-color: #888 #333 #333 #888; padding: .1em
@media (prefers-color-scheme: dark) { #source p .n { color: #777; } }
-#source p .n a { text-decoration: none; color: #999; }
+#source p .n.highlight { background: #ffdd00; }
+
+#source p .n a { margin-top: -4em; padding-top: 4em; text-decoration: none; color: #999; }
@media (prefers-color-scheme: dark) { #source p .n a { color: #777; } }
@@ -156,8 +158,6 @@ kbd { border: 1px solid black; border-color: #888 #333 #333 #888; padding: .1em
@media (prefers-color-scheme: dark) { #source p .n a:hover { color: #777; } }
-#source p.highlight .n { background: #ffdd00; }
-
#source p .t { display: inline-block; width: 100%; box-sizing: border-box; margin-left: -.5em; padding-left: 0.3em; border-left: 0.2em solid #fff; }
@media (prefers-color-scheme: dark) { #source p .t { border-color: #1e1e1e; } }