Fix
This commit is contained in:
parent
0fd6355a87
commit
26c287a743
|
@ -32,8 +32,8 @@
|
||||||
.top-link {
|
.top-link {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 60px;
|
bottom: 30px;
|
||||||
right: 60px;
|
right: 30px;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
border: none;
|
border: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if (not site.Params.disableScrollToTop) }}
|
{{- if (not site.Params.disableScrollToTop) }}
|
||||||
<button id="top-link" class="top-link" onclick="window.scrollTo({top: 0, behavior: 'smooth'})"></button>
|
<button id="top-link" class="top-link" onclick="window.scrollTo({top: 0, behavior: 'smooth'})">^</button>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- partial "extend_footer.html" . }}
|
{{- partial "extend_footer.html" . }}
|
||||||
|
|
Loading…
Reference in New Issue