From 42e7857fcd0c1f648760c2dbb606fc67ef0dfb29 Mon Sep 17 00:00:00 2001 From: Magnus Hovland Hoff Date: Tue, 21 Aug 2018 21:57:40 +0200 Subject: [PATCH] Revert "Attempt to improve overscroll in Apple browsers" This reverts commit 0847cb5c4d108cad3dcb9e78c75c981e966682f3. --- assets/style.css | 10 +--------- templates/layout.html | 4 ++-- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/assets/style.css b/assets/style.css index 39605f8..4c2e286 100644 --- a/assets/style.css +++ b/assets/style.css @@ -8,14 +8,6 @@ html { "Source Serif Pro", serif; } -/* For overscroll in Apple browsers */ -html { - background: var(--theme-main); -} -body { - background: white; -} - h1 { font-weight: normal; font-style: normal; @@ -195,11 +187,11 @@ nav { /* Sticky footer */ html, body { + height: 100%; margin: 0; padding: 0; } body { - min-height: 100vh; display: flex; flex-direction: column; } diff --git a/templates/layout.html b/templates/layout.html index 46c7109..2123814 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -1,5 +1,5 @@ - + {{title}} @@ -9,7 +9,7 @@ - + {{>search_input.html}} {{{body}}}