]> git.scottworley.com Git - tablify/commitdiff
A little more space up top
authorScott Worley <scottworley@scottworley.com>
Tue, 20 Aug 2024 02:42:24 +0000 (19:42 -0700)
committerScott Worley <scottworley@scottworley.com>
Tue, 20 Aug 2024 18:00:27 +0000 (11:00 -0700)
Someday-maybe: Dynamically guess at this from column title lengths.

Changelog
src/lib.rs

index 6251f29c10a7769616edb77a2869a824f8c7cdf2..4be743b0432cf6cdb236c1fe6fe2fb60be08e262 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,5 @@
 ## [Unreleased]
-
+- A little more space up top
 
 ## [0.2.0] - 2024-08-19
 Initial release
index efdb7d812ec7c98724518d883f214b40871601a3..30026929c3993ea004d726e2c0ceffcbc44957ce 100644 (file)
@@ -13,7 +13,7 @@ const HEADER: &str = "<!DOCTYPE html>
     th, td { white-space: nowrap; }
     th { text-align: left; font-weight: normal; }
     table { border-collapse: collapse }
-    tr.key > th { height: 8em; vertical-align: bottom; line-height: 1 }
+    tr.key > th { height: 10em; vertical-align: bottom; line-height: 1 }
     tr.key > th > div { width: 1em; }
     tr.key > th > div > div { width: 5em; transform-origin: bottom left; transform: translateX(1em) rotate(-65deg) }
     td { border: thin solid gray; }