common: bump version to 1.11
[sheet.git] / latin.plp
index 25d8b1027e2185e35872df02bb740c97f7d4d643..199a49c3b28a622d7b27c23823929ae3ed078dab 100644 (file)
--- a/latin.plp
+++ b/latin.plp
@@ -2,7 +2,7 @@
 
 Html({
        title => 'latin alphabet cheat sheet',
-       version => '1.3',
+       version => '1.5',
        description => [
        ],
        keywords => [qw'
@@ -17,14 +17,6 @@ Html({
 
 :>
 <style>
-       td {
-               vertical-align: top;
-               white-space: nowrap;
-       }
-       th {
-               width: auto !important;
-       }
-
        td svg {
                vertical-align: middle;
        }
@@ -37,10 +29,15 @@ Html({
        }
 
        .sample {
-               vertical-align: middle;
                text-align: left;
                padding: 1px 0.3em;
        }
+       td.sample {
+               width: auto;
+       }
+       th {
+               white-space: nowrap; /* prevent resize by sample */
+       }
 </style>
 
 <h1>Latin alphabet</h1>
@@ -79,7 +76,9 @@ else {
                my ($id, $info) = @{$row};
 
                printf '<tr id="%s">', $id;
-               say '<th>', $info->{title} // ucfirst $id;
+               my $th = 'th';
+               $th .= sprintf ' title="%s"', $_ for $info->{title} || ();
+               say "<$th>", $info->{name} // ucfirst $id;
 
                my $colspan = 1;
                my $col = 0;
@@ -116,5 +115,7 @@ else {
 :></div>
 
 <script type="text/javascript" src="/latinsample.js"></script>
-<script type="text/javascript"> prependinput(document.getElementById('intro')) </script>
+<script type="text/javascript"><!--
+       prependinput(document.getElementById('intro'));
+//--></script>