mirror of https://github.com/jpanther/congo.git
🩹 Improve scroll to top link alignment
parent
31c7cca31d
commit
f007a1f294
|
@ -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
|
||||
|
|
|
@ -1672,8 +1672,8 @@ body button {
|
|||
left: 0px;
|
||||
}
|
||||
|
||||
.top-\[110vh\] {
|
||||
top: 110vh;
|
||||
.top-\[100vh\] {
|
||||
top: 100vh;
|
||||
}
|
||||
|
||||
.bottom-0 {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue