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 6af6647eabb14578580e46f192a9ca4b9504447a..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>