Fix
This commit is contained in:
parent
ca75395067
commit
202da29a83
|
@ -40,7 +40,7 @@
|
|||
background-color: var(--tertiary);
|
||||
color: black;
|
||||
cursor: pointer;
|
||||
padding: 14px;
|
||||
padding: 8px;
|
||||
border-radius: 5px;
|
||||
font-size: 18px;
|
||||
transition: visibility 0.5s, opacity 0.8s linear;
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
{{- 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'})">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" focusable="false" style="pointer-events: none; display: block; width: 100%; height: 100%;" fill="currentColor" stroke="white" stroke-width="1"><polygon points="19.35,11.5 11.5,3.65 3.65,11.5 4.35,12.21 11,5.56 11,20 12,20 12,5.56 18.65,12.21"></polygon></svg>
|
||||
</button>
|
||||
{{- end }}
|
||||
|
||||
{{- partial "extend_footer.html" . }}
|
||||
|
|
Loading…
Reference in New Issue