mirror of https://github.com/jpanther/congo.git
parent
ff5808b877
commit
972233063c
|
@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
- Hungarian translation ([#170](https://github.com/jpanther/congo/pull/170))
|
- Hungarian translation ([#170](https://github.com/jpanther/congo/pull/170))
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Scroll to top link overlaps footer menu on mobile devices ([#172](https://github.com/jpanther/congo/issues/172))
|
||||||
|
|
||||||
## [2.1.2] - 2022-04-08
|
## [2.1.2] - 2022-04-08
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -1467,6 +1467,10 @@ body a, body button {
|
||||||
top: 110vh;
|
top: 110vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bottom-\[-8\.25rem\] {
|
||||||
|
bottom: -8.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
.bottom-\[-5\.5rem\] {
|
.bottom-\[-5\.5rem\] {
|
||||||
bottom: -5.5rem;
|
bottom: -5.5rem;
|
||||||
}
|
}
|
||||||
|
@ -2608,6 +2612,10 @@ body a, body button {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 640px) {
|
@media (min-width: 640px) {
|
||||||
|
.sm\:bottom-\[-8rem\] {
|
||||||
|
bottom: -8rem;
|
||||||
|
}
|
||||||
|
|
||||||
.sm\:mb-0 {
|
.sm\:mb-0 {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,11 @@
|
||||||
{{- block "main" . }}{{- end }}
|
{{- block "main" . }}{{- end }}
|
||||||
{{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}
|
{{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}
|
||||||
<div
|
<div
|
||||||
class="absolute top-[110vh] ltr:right-0 rtl:left-0 w-12 pointer-events-none bottom-[-5.5rem]"
|
class="absolute top-[110vh] ltr:right-0 rtl:left-0 w-12 pointer-events-none {{ if .Site.Menus.footer -}}
|
||||||
|
bottom-[-8.25rem] sm:bottom-[-8rem]
|
||||||
|
{{- else -}}
|
||||||
|
bottom-[-5.5rem]
|
||||||
|
{{- end }}"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="#the-top"
|
href="#the-top"
|
||||||
|
|
Loading…
Reference in New Issue