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
12 lines
528 B
HTML
12 lines
528 B
HTML
{{define "shortcuts-button"}}
|
|
<!-- Keyboard Shortcuts Button (Fixed Left) -->
|
|
<button
|
|
id="shortcuts-button"
|
|
class="fixed-btn shortcuts-btn no-print has-tooltip"
|
|
onclick="document.getElementById('shortcuts-modal').showModal()"
|
|
aria-label="{{if eq .Lang "es"}}Atajos de teclado{{else}}Keyboard shortcuts{{end}}"
|
|
data-tooltip="{{if eq .Lang "es"}}Atajos de teclado (?){{else}}Keyboard shortcuts (?){{end}}">
|
|
<iconify-icon icon="mdi:keyboard-outline" width="28" height="28"></iconify-icon>
|
|
</button>
|
|
{{end}}
|