From: Mischa POSLAWSKY Date: Tue, 1 Mar 2022 20:15:27 +0000 (+0100) Subject: common: sticky table header row X-Git-Tag: v1.13~9 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/0abdb278ad76957a309e4fa9da436be73070c595 common: sticky table header row Keep column legends visible while scrolling through larger tables, especially digraphs and font where cells are much alike. --- diff --git a/base.css b/base.css index dab95d7..cc3625f 100644 --- a/base.css +++ b/base.css @@ -254,6 +254,12 @@ td.joinl { border-left: none; } +thead { + position: sticky; + top: 0; + background: #DDD8; +} + /* character table */ .glyphs thead th, .glyphs td {