From: Scott Worley Date: Tue, 20 Aug 2024 02:42:24 +0000 (-0700) Subject: A little more space up top X-Git-Tag: v0.2.1~3 X-Git-Url: http://git.scottworley.com/tablify/commitdiff_plain/3bc643e943293ff1a352ca554797a274f2bc91ae A little more space up top Someday-maybe: Dynamically guess at this from column title lengths. --- diff --git a/Changelog b/Changelog index 6251f29..4be743b 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,5 @@ ## [Unreleased] - +- A little more space up top ## [0.2.0] - 2024-08-19 Initial release diff --git a/src/lib.rs b/src/lib.rs index efdb7d8..3002692 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,7 @@ const HEADER: &str = " 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; }