Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Mobile audio player: flip the volume slider popover to anchor ABOVE the button instead of below — the previous wiring used absolute top-full + pt-2 which positioned the popup beneath the button; the audio player sits at the bottom of the viewport above the bottom-nav, so a below-anchored popover rendered off-screen behind the bottom-nav (visible in the screenshot as a clipped slider hanging off the bottom-right edge); now uses bottom-full + pb-2 so the popover opens upward into the player content area where it has room, and transform-origin: bottom center so the scale animation grows from the connection point with the button instead of from the centre of the popover; the pb-2 still functions as the hover bridge so the cursor can cross from button to slider without dropping the :hover state; desktop bottom player is unaffected because it uses an inline horizontal slider next to the volume button rather than a popover so it never had this bug
Murtaza Nasirc110752ac022
diff --git a/templates/components/detail/audio-player.html b/templates/components/detail/audio-player.htmlindex 1e8e89ab..936017f6 100644--- a/templates/components/detail/audio-player.html+++ b/templates/components/detail/audio-player.html@@ -196,9 +196,17 @@:title="audioIsMuted ? t('tooltips.unmute') : t('tooltips.mute')"><i :class="audioIsMuted || playerVolume === 0 ? 'fas fa-volume-mute' : playerVolume < 0.5 ? 'fas fa-volume-down' : 'fas fa-volume-up'" class="text-sm"></i></button>- <!-- Volume Slider (expands on hover, outer div is invisible hover bridge) -->- <div class="absolute top-full left-1/2 -translate-x-1/2 pt-2 z-50 transition-all duration-200"+ <!-- Volume slider popover — anchored ABOVE the+ button (bottom-full + pb-2) because the audio+ player sits at the bottom of the viewport, so+ a top-anchored popup would have rendered off-+ screen below the player and behind the bottom+ nav. The pb-2 is a hover bridge that lets the+ cursor cross from the button into the popover+ without breaking the :hover state. -->+ <div class="absolute bottom-full left-1/2 -translate-x-1/2 pb-2 z-50 transition-all duration-200":class="showVolumeSlider ? 'opacity-100 pointer-events-auto scale-100' : 'opacity-0 pointer-events-none scale-95'"+ style="transform-origin: bottom center;"@mouseenter="showVolumeSlider = true"@mouseleave="showVolumeSlider = false"><div class="px-3 py-2 bg-[var(--bg-tertiary)] border border-[var(--border-accent)] rounded-lg shadow-xl flex flex-col items-center gap-1">