From db37519f63017aa7c52f866178bc5e9b464e008c Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 19 Nov 2022 22:42:35 -0800 Subject: [PATCH] Small css tweaks. --- frontends/etiquette_flask/static/css/common.css | 4 ++-- frontends/etiquette_flask/static/css/etiquette.css | 2 +- frontends/etiquette_flask/templates/search.html | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/frontends/etiquette_flask/static/css/common.css b/frontends/etiquette_flask/static/css/common.css index 7dc7bca..a1376a0 100644 --- a/frontends/etiquette_flask/static/css/common.css +++ b/frontends/etiquette_flask/static/css/common.css @@ -29,7 +29,7 @@ getComputedStyle(document.documentElement).getPropertyValue("--narrow").trim() = html { - height: 100vh; + min-height: 100vh; box-sizing: border-box; color: var(--color_text_normal); } @@ -48,7 +48,7 @@ body "content_body" 1fr /1fr; - min-height: 100%; + min-height: 100vh; margin: 0; padding: 8px; grid-row-gap: 8px; diff --git a/frontends/etiquette_flask/static/css/etiquette.css b/frontends/etiquette_flask/static/css/etiquette.css index 9afd5e8..4aafa20 100644 --- a/frontends/etiquette_flask/static/css/etiquette.css +++ b/frontends/etiquette_flask/static/css/etiquette.css @@ -54,7 +54,7 @@ p:last-child color: var(--color_text_link); } -.header_element:hover +.navigation_link:hover { background-color: var(--color_secondary); } diff --git a/frontends/etiquette_flask/templates/search.html b/frontends/etiquette_flask/templates/search.html index fa04d60..a00f663 100644 --- a/frontends/etiquette_flask/templates/search.html +++ b/frontends/etiquette_flask/templates/search.html @@ -88,9 +88,6 @@ #right { flex: 1; - - /* Keep the prev-next buttons from scraping the floor */ - padding-bottom: 30px; } @media screen and (min-width: 800px)