codec: constant table column widths
authorMischa POSLAWSKY <perl@shiar.org>
Fri, 29 Oct 2021 20:28:14 +0000 (22:28 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 9 Nov 2021 03:14:15 +0000 (04:14 +0100)
Styling hack assuming ≤10 similar cells regardless of missing data.

codec.plp

index 2e5079487e792c6147425a8c9dd36354c5f118ae..8a5b6a89de36b3e86f2387cdca87e510ca8a9953 100644 (file)
--- a/codec.plp
+++ b/codec.plp
@@ -11,6 +11,7 @@ Html({
        '],
        stylesheet => [qw'light circus dark red'],
        data => [qw'codec.inc.pl'],
+       raw => '<style>td,th {width:10%} tbody th {white-space:nowrap}</style>',
 });
 
 my $info = do 'codec.inc.pl';