976b8ae2e2
Remove hardcoded width/height HTML attributes from iconify-icon elements that were overriding CSS sizing. The iconify-icon component uses HTML attributes for SVG rendering, ignoring CSS width/height. - Remove width="28" height="28" from 8 button templates - Remove conflicting 768px media query from _buttons.css - Add default desktop icon sizes (24px) in _scroll-behavior.css - Icons now scale via clamp() from 18px (380px) to 24px (900px)
12 lines
451 B
HTML
12 lines
451 B
HTML
{{define "back-to-top"}}
|
|
<!-- Back to Top Link - Hyperscript smooth scroll without URL pollution -->
|
|
<button id="back-to-top"
|
|
class="back-to-top no-print has-tooltip tooltip-left"
|
|
aria-label="{{.UI.Widgets.BackToTop.AriaLabel}}"
|
|
data-tooltip="{{.UI.Widgets.BackToTop.Tooltip}}"
|
|
style="display: none;"
|
|
_="on click call scrollToTop(event)">
|
|
<iconify-icon icon="mdi:arrow-up"></iconify-icon>
|
|
</button>
|
|
{{end}}
|