🩹 Improve scroll to top link alignment

This commit is contained in:
James Panther
2022-06-25 13:04:41 +10:00
parent 31c7cca31d
commit f007a1f294
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
{{- block "main" . }}{{- end }}
{{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}
<div
class="absolute top-[110vh] ltr:right-0 rtl:left-0 w-12 pointer-events-none bottom-0"
class="absolute top-[100vh] ltr:right-0 rtl:left-0 w-12 pointer-events-none bottom-0"
>
<a
href="#the-top"