2497dbaa3e
- Remove tooltip-left class from zoom and shortcuts buttons (all left-side buttons show tooltips on RIGHT) - Add mobile CSS rules for fixed-btn tooltips to appear on TOP (like macOS Dock) - Update button template comments to reflect correct positioning - Mobile: All fixed buttons now show tooltips above (top position) - Desktop: All left-side fixed buttons show tooltips on right
13 lines
573 B
HTML
13 lines
573 B
HTML
{{define "zoom-toggle-button"}}
|
|
<!-- Zoom Toggle Button (Fixed Left, above shortcuts button) -->
|
|
<button
|
|
id="zoom-toggle-button"
|
|
class="fixed-btn zoom-toggle-btn no-print has-tooltip"
|
|
aria-label="{{if eq .Lang "es"}}Alternar control de zoom{{else}}Toggle zoom control{{end}}"
|
|
data-tooltip="{{if eq .Lang "es"}}Control de zoom{{else}}Zoom control{{end}}"
|
|
_="on mouseenter call highlightZoomControl(true)
|
|
on mouseleave call highlightZoomControl(false)">
|
|
<iconify-icon icon="mdi:magnify" width="28" height="28"></iconify-icon>
|
|
</button>
|
|
{{end}}
|