From 68abe072d8013aa0d51db31ee472dece12b88aee Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Sun, 28 Feb 2021 22:08:02 +1100 Subject: [PATCH] Fix print stylesheet Add padding to table cells Fix padding at top of first page --- html/index.html | 2 +- html/main.css | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/html/index.html b/html/index.html index 7686af7..ca6c510 100644 --- a/html/index.html +++ b/html/index.html @@ -217,7 +217,7 @@
-
+
diff --git a/html/main.css b/html/main.css index d445418..033878d 100644 --- a/html/main.css +++ b/html/main.css @@ -58,7 +58,7 @@ body { table { border-collapse: collapse; } -#result td { +.result td { padding: 0px 8px; min-height: 1em; } @@ -69,7 +69,7 @@ td.count sup { font-size: 0.6rem; top: 0; } -#result tr:first-child td { +.result tr:first-child td { vertical-align: bottom; } td.excluded { @@ -123,6 +123,10 @@ tr.info td { display: none; } +#printContainer > div:first-child > p:first-child { + margin-top: 0; +} + @media print { body.interactive > * { display: none;