From f007a1f294ab9b1b8caea36b8f279f6709bf4d4c Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Sat, 25 Jun 2022 13:04:41 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Improve=20scroll=20to=20top=20li?= =?UTF-8?q?nk=20alignment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + assets/css/compiled/main.css | 4 ++-- layouts/_default/baseof.html | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61d51774..e8b2615a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Search link does not appear in header if main menu has no items to display - Search only returns results in the primary language when multiple languages are available ([#229](https://github.com/jpanther/congo/issues/229)) +- Scroll to top misaligned with the footer at small viewport heights - Link to homepage would be incorrect in some deployments if `baseURL` contained sub-directories in the path ## [2.2.3] - 2022-06-22 diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index ee600756..8c516596 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1672,8 +1672,8 @@ body button { left: 0px; } -.top-\[110vh\] { - top: 110vh; +.top-\[100vh\] { + top: 100vh; } .bottom-0 { diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c999751a..9c4d0e38 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -31,7 +31,7 @@ {{- block "main" . }}{{- end }} {{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}