latin: unrestricted width of sample column
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 30 May 2017 02:22:36 +0000 (04:22 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 5 Jun 2017 00:59:16 +0000 (02:59 +0200)
Fix unwanted word wrapping.

latin.plp

index 6af6647..56f9d03 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>