diff options
author | Stephan Richter <stephan.richter@gmail.com> | 2019-01-24 08:09:07 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-06-10 17:15:32 -0400 |
commit | 47d6f8a064ee7da6c2a2dd288c197b58b942a75e (patch) | |
tree | f70e0899c91856c91fee9b940203258c3c81ae3d /coverage | |
parent | 0f5c9347aa8c72d853f49761d5580a770c4fd39f (diff) | |
download | python-coveragepy-git-47d6f8a064ee7da6c2a2dd288c197b58b942a75e.tar.gz |
Fix styling and tests. (The tests are slightly insane with no obvious way to update the expected output.)
Diffstat (limited to 'coverage')
-rw-r--r-- | coverage/htmlfiles/pyfile.html | 2 | ||||
-rw-r--r-- | coverage/htmlfiles/style.css | 10 |
2 files changed, 4 insertions, 8 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 025ae797..460c12b5 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -104,7 +104,7 @@ </p>{#-#} {% endfor %} </td> - {% endif -%} + {% endif %} </tr> </table> </div> diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css index c663ed33..27f0e47a 100644 --- a/coverage/htmlfiles/style.css +++ b/coverage/htmlfiles/style.css @@ -297,6 +297,7 @@ td.text { color: #000080; } +/* Line contexts */ td.contexts p { margin: 0; padding: 0 .5em; @@ -305,15 +306,12 @@ td.contexts p { white-space: nowrap; position: relative; } - td.contexts p:hover { background: #eee; } - td.contexts p span.context-list { display: none; } - td.contexts p:hover span.context-list { display: block; min-width: 30em; @@ -332,11 +330,9 @@ td.contexts p:hover span.context-list { border-radius: .2em; box-shadow: #cccccc .2em .2em .2em; } - span.context-list span.context-line { - display: block; -} - + display: block; + } td.contexts p span.context-button { display: inline-block; cursor: pointer; |