Files
cv-site/templates/partials/widgets/zoom-toggle-button.html
T

14 lines
544 B
HTML
Raw Normal View History

2025-11-16 12:48:12 +00:00
{{define "zoom-toggle-button"}}
<!-- Zoom Toggle Button (Fixed Left, above shortcuts button) -->
2025-11-16 12:48:12 +00:00
<button
id="zoom-toggle-button"
class="fixed-btn zoom-toggle-btn no-print has-tooltip"
aria-label="{{.UI.Widgets.ZoomToggle.AriaLabel}}"
data-tooltip="{{.UI.Widgets.ZoomToggle.Tooltip}}"
_="on click call toggleZoomControl()
on mouseenter call highlightZoomControl(true)
on mouseleave call highlightZoomControl(false)">
2025-11-16 12:48:12 +00:00
<iconify-icon icon="mdi:magnify" width="28" height="28"></iconify-icon>
</button>
{{end}}