From 621e09e71566da40f79069d01b622f651bf0a335 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 17 Oct 2021 13:34:27 +0200 Subject: [PATCH] dieren: regular cell width regardless of contents --- dieren.plp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dieren.plp b/dieren.plp index 6ab5117..4775efe 100644 --- a/dieren.plp +++ b/dieren.plp @@ -42,13 +42,13 @@ Html({ table { width: 100%; } +th { + width: 1%; /* min-content */ +} td { + width: 15%; /* 1fr */ vertical-align: bottom; } -figure { - width: 100%; - height: 100%; -} figure[hidden] { transition: opacity 1s 0s; display: inline; @@ -133,6 +133,7 @@ while (my $name = shift @table) { while ($name = shift @table) { last if $name =~ m/^>/; } + $name or next; } if ($name =~ s/^>//) { # leading dash starts a new row -- 2.30.0