From 7325debd66250b7a7c82390abc962455bfce014c Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 11 Sep 2022 10:41:19 -0700 Subject: [PATCH] Fix up the layout of the debug content Put it in the bottom left in a disclosure --- layouts/partials/development/page_info.html | 2 +- static/styles/development.css | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/layouts/partials/development/page_info.html b/layouts/partials/development/page_info.html index d43054b..2b480bf 100644 --- a/layouts/partials/development/page_info.html +++ b/layouts/partials/development/page_info.html @@ -1,6 +1,6 @@ {{ if not hugo.IsProduction }}
-
+
Debug Page Info diff --git a/static/styles/development.css b/static/styles/development.css index 11bef15..566f04b 100644 --- a/static/styles/development.css +++ b/static/styles/development.css @@ -26,27 +26,29 @@ border: 1px solid #ddd; border-radius: 6px; box-shadow: 4px 5px 5px rgba(230, 230, 230, 0.5); - display: inline-block; - font-size: 12px; - + font-size: 8px; position: fixed; - bottom: 2rem; left: 2rem; + bottom: 2rem; + width: max-content; } #debug-page-info details { margin: 0.5rem; } +#debug-page-info summary { + font-family: var(--font-family-heading); +} + #debug-page-info table { - display: block; margin-block-start: 0.5em; margin-inline-start: 1em; } #debug-page-info td { border: 1px solid black; - padding: 0.4em; + padding: 0.25em; } #debug-page-info tr:nth-child(even) {
.Section{{ .Section }}