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)
14 lines
472 B
HTML
14 lines
472 B
HTML
{{define "print-friendly-button"}}
|
|
<!-- Print-Friendly Button (Fixed Left) -->
|
|
<button
|
|
id="print-friendly-button"
|
|
class="fixed-btn print-friendly-btn no-print has-tooltip"
|
|
aria-label="{{.UI.Widgets.Print.AriaLabel}}"
|
|
data-tooltip="{{.UI.Widgets.Print.Tooltip}}"
|
|
onclick="window.print()"
|
|
_="on mouseenter call syncPrintHover(true)
|
|
on mouseleave call syncPrintHover(false)">
|
|
<iconify-icon icon="mdi:leaf"></iconify-icon>
|
|
</button>
|
|
{{end}}
|