From 37160a91f32c26c7c6a7b624d29492b408378c54 Mon Sep 17 00:00:00 2001 From: James Read Date: Wed, 14 Aug 2024 07:56:30 +0100 Subject: [PATCH] feature: take full page and display footer at bottom pf window (#383) --- webui.dev/style.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/webui.dev/style.css b/webui.dev/style.css index a4fb604..67c6276 100644 --- a/webui.dev/style.css +++ b/webui.dev/style.css @@ -1,3 +1,9 @@ +html, body { + display: flex; + flex-direction: column; + height: 100%; +} + body { background-color: #dee3e7; color: black; @@ -356,6 +362,7 @@ img.logo { main { padding: 1em; padding-top: 3.5em; + flex-grow: 1; } summary { @@ -411,7 +418,7 @@ input[name="start"]:hover { div.arguments { display: grid; grid-template-columns: max-content auto auto; /* We don't want the label or the description to wrap, and the input to take up the rest of the space */ - grid-template-rows: repeat(auto-fill, 1fr); + grid-template-rows: auto; grid-gap: 1em; align-items: center;