From 3bc643e943293ff1a352ca554797a274f2bc91ae Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Mon, 19 Aug 2024 19:42:24 -0700 Subject: [PATCH] A little more space up top Someday-maybe: Dynamically guess at this from column title lengths. --- Changelog | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.44.1