From 37cfafbcd3ef3e5c5d813d3d86d6edbb582a02cc Mon Sep 17 00:00:00 2001 From: rhiannon morris Date: Sun, 6 Aug 2023 06:12:29 +0200 Subject: [PATCH] vertically center single pages --- style/shiny/single.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/style/shiny/single.css b/style/shiny/single.css index 210a000..284cdde 100644 --- a/style/shiny/single.css +++ b/style/shiny/single.css @@ -6,8 +6,14 @@ --image-width: 1000px; } +body { + display: grid; + min-height: 100vh; +} + .page { max-width: var(--image-width); + align-self: center; } #mainfig {