sitemap: recognise missing [brahmi] page
[sheet.git] / latin.plp
index 38dc426dd3efe35770eeeabfec7dbcdc69790d80..56f9d03d8a206769aeb12918ab2edff127e9e65c 100644 (file)
--- a/latin.plp
+++ b/latin.plp
@@ -17,13 +17,6 @@ Html({
 
 :>
 <style>
-       td {
-               white-space: nowrap;
-       }
-       th {
-               width: auto !important;
-       }
-
        td svg {
                vertical-align: middle;
        }
@@ -38,7 +31,12 @@ Html({
        .sample {
                text-align: left;
                padding: 1px 0.3em;
-               white-space: normal;
+       }
+       td.sample {
+               width: auto;
+       }
+       th {
+               white-space: nowrap; /* prevent resize by sample */
        }
 </style>
 
@@ -78,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;