From 4d456deed6b155dcfe431e4c829f46d10b2fe68b Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 13 Jul 2023 15:03:53 +0300 Subject: [styles] Empty cells have a default height --- src/styles.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/styles.css') diff --git a/src/styles.css b/src/styles.css index a4b1b9d..fe11c8d 100644 --- a/src/styles.css +++ b/src/styles.css @@ -249,11 +249,12 @@ table { table td:not(:first-of-type), table th:not(:first-of-type) { border-left: 2px dashed var(--table-border-color); } - table td:not(:empty), table th:not(:empty) { padding: 0.5em; } - table th:not(:empty) { + table td, table th { padding: 0.5em; } + table th { font-size: 1.1em; font-weight: bold; } + table td:empty { height: 1em; } table tr:not(:first-of-type) { background-color: var(--tr-bg-color); -- cgit v1.3.1-23-gd82d