Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Mobile progress popup: actually full-width and clear of the player — the previous mobile rule used non-important values that lost the cascade to the base .progress-popup { left: 1rem; width: 20rem } leaving the queue as a 320 px card pinned to the left edge with the rest of the row empty (visible in the screenshot as the queue 'touching the left side'); now uses !important on left / right / width / bottom so the mobile rule unambiguously wins, width: 100vw (was width: auto which can fall through to content-sized in some engines), and the bottom offset is split into named contributions — 60 px player content + 56 px bottom nav + 12 px breathing room + safe-area inset — instead of an opaque 70+56 calc; the breathing room gives the sheet visible clearance over the player scrubber rather than landing right on it

Murtaza Nasir81812619a03b
diff --git a/static/css/primitives.css b/static/css/primitives.css
index 017b4c86..9d4178c9 100644
--- a/static/css/primitives.css
+++ b/static/css/primitives.css
@@ -1499,11 +1499,18 @@ textarea:focus-visible {
}
@media (max-width: 640px) {
+ /* !important wins against the base-rule values above — the base
+ rule's left: 1rem + width: 20rem would otherwise leave the
+ popup as a 320 px wide card pinned to the left edge with the
+ rest of the screen empty (visible in the prior screenshot as
+ the queue "touching the left side" rather than spanning the
+ row). Bottom offset: 60 px player content + 56 px bottom nav
+ + 12 px breathing room + safe-area inset. */
.progress-popup {
- bottom: calc(70px + 56px + env(safe-area-inset-bottom, 0px));
- left: 0;
- right: 0;
- width: auto;
+ bottom: calc(60px + 56px + 12px + env(safe-area-inset-bottom, 0px)) !important;
+ left: 0 !important;
+ right: 0 !important;
+ width: 100vw !important;
max-height: 60vh;
animation: progressSheetUp 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
@@ -1513,9 +1520,6 @@ textarea:focus-visible {
border-right-width: 0;
border-bottom-width: 0;
}
- /* The minimized header strip is fine to render full-width too;
- the existing collapse logic in the template handles the body
- visibility. */
}
@keyframes progressSheetUp {