This commit is contained in:
Morgan 2023-11-07 21:21:40 +09:00
parent 0fd6355a87
commit 26c287a743
2 changed files with 3 additions and 3 deletions

View File

@ -32,8 +32,8 @@
.top-link {
visibility: hidden;
position: fixed;
bottom: 60px;
right: 60px;
bottom: 30px;
right: 30px;
z-index: 99;
border: none;
outline: none;

View File

@ -13,7 +13,7 @@
{{- end }}
{{- 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 }}
{{- partial "extend_footer.html" . }}