summaryrefslogtreecommitdiff
path: root/check_checkers.py
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-02-25 07:30:47 +0100
committerMartin Fischer <martin@push-f.com>2022-02-25 08:24:47 +0100
commit232e804c851322c825b5f0e627ca86b4db7d639f (patch)
tree89dcfef48005bcfa822a974b634e5f735586b427 /check_checkers.py
parent8a6d70aef46b4fd44fcd93d1b9ce48e13d26597c (diff)
checkers: make table headers sticky
Diffstat (limited to 'check_checkers.py')
-rwxr-xr-xcheck_checkers.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/check_checkers.py b/check_checkers.py
index 851c66f..1855300 100755
--- a/check_checkers.py
+++ b/check_checkers.py
@@ -186,7 +186,13 @@ def run(
<a href=/>Back to start page</a>.</p>'''
)
- out.write('<style>.unexpected {background: #ffd2d0}</style>')
+ out.write(
+ '''<style>
+ .unexpected {background: #ffd2d0}
+ th {position: sticky; top: 0; background: #e8e8e8;}
+ table {border-spacing: 0;}
+ </style>'''
+ )
out.write('<table border=1>')
out.write('<tr><th>Input')