git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d93f65e
)
dieren: regular cell width regardless of contents
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 17 Oct 2021 11:34:27 +0000
(13:34 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 25 Oct 2021 14:33:21 +0000
(16:33 +0200)
dieren.plp
patch
|
blob
|
history
diff --git
a/dieren.plp
b/dieren.plp
index 6ab51174b3b9594a1faa37addb8c32a1222884a0..4775efebabc4e4f8d8af5b55949148e8323ae5d5 100644
(file)
--- 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