git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dieren: 3 column beknopt mode of 39 custom words
[sheet.git]
/
latin.plp
diff --git
a/latin.plp
b/latin.plp
index f9e47189f1811fbfa943702f0ee0c883db98d7b5..199a49c3b28a622d7b27c23823929ae3ed078dab 100644
(file)
--- a/
latin.plp
+++ b/
latin.plp
@@
-2,7
+2,7
@@
Html({
title => 'latin alphabet cheat sheet',
Html({
title => 'latin alphabet cheat sheet',
- version => '1.
4
',
+ version => '1.
5
',
description => [
],
keywords => [qw'
description => [
],
keywords => [qw'
@@
-17,13
+17,6
@@
Html({
:>
<style>
:>
<style>
- td {
- white-space: nowrap;
- }
- th {
- width: auto !important;
- }
-
td svg {
vertical-align: middle;
}
td svg {
vertical-align: middle;
}
@@
-38,7
+31,12
@@
Html({
.sample {
text-align: left;
padding: 1px 0.3em;
.sample {
text-align: left;
padding: 1px 0.3em;
- white-space: normal;
+ }
+ td.sample {
+ width: auto;
+ }
+ th {
+ white-space: nowrap; /* prevent resize by sample */
}
</style>
}
</style>
@@
-78,7
+76,9
@@
else {
my ($id, $info) = @{$row};
printf '<tr id="%s">', $id;
my ($id, $info) = @{$row};
printf '<tr id="%s">', $id;
- say '<th>', $info->{name} // ucfirst $id;
+ my $th = 'th';
+ $th .= sprintf ' title="%s"', $_ for $info->{title} || ();
+ say "<$th>", $info->{name} // ucfirst $id;
my $colspan = 1;
my $col = 0;
my $colspan = 1;
my $col = 0;