Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Sidebar full-bleed list — strip the outer p-4 padding from the recordings list container (now py-3 vertical-only) so every row, section header, hover background, active background, and hairline divider runs edge-to-edge across the sidebar; horizontal padding moved to the row's own .px-3 so content stays inset while chrome doesn't; .recording-row no longer has a border-radius so the active state is a sharp full-width band instead of a rounded card; .recording-group-header's negative-margin escape hack is gone since the container has no padding to escape from anymore; section header padding bumped to var(--sp-3) to match the row content alignment; the consistent-divider rhythm now reads as deliberate structural bands rather than floating cards inside padded gutters
Murtaza Nasir0a1f23250063
diff --git a/static/css/styles.css b/static/css/styles.cssindex a81e8dee..0252c6c0 100644--- a/static/css/styles.css+++ b/static/css/styles.css@@ -4369,10 +4369,10 @@ select:disabled {/* ---- Sidebar recording rows ------------------------------------------ */-/* Section header (TODAY / THIS WEEK / LAST MONTH / OLDER) sits above- each group with a subtle tinted background + thin top + bottom rule- so the time-window boundary reads as a real structural divider- instead of a tiny caption that floats over the list. */+/* Section header (TODAY / THIS WEEK / LAST MONTH / OLDER) — full-bleed+ structural band. The recordings list container has no horizontal+ padding now, so the header sits edge-to-edge naturally; no negative+ margins required. */.recording-group-header {font-size: var(--fs-label);font-weight: 600;@@ -4382,28 +4382,28 @@ select:disabled {background: var(--bg-tertiary);border-top: 1px solid var(--border-primary);border-bottom: 1px solid var(--border-primary);- padding: 6px var(--sp-2);- margin: 0 calc(-1 * var(--sp-2)) 0 calc(-1 * var(--sp-2));+ padding: 6px var(--sp-3);+ margin: 0;line-height: var(--lh-tight);}-/* Each section group wraps its rows so we can draw subtle hairlines- between siblings without dealing with first/last-child quirks on the- loop's v-for. */+/* Each section group wraps its rows for divider scoping. */.recording-group {display: flex;flex-direction: column;}-/* Uniform 1px hairline between every consecutive pair of rows. Active- and hovered rows do NOT hide the adjacent hairlines — keeping the- rhythm uniform prevents the "some-rows-have-lines-some-don't"- appearance that read as an inconsistent design. */+/* Uniform 1px hairline between every consecutive pair of rows. The+ hairline is on the next row's top border, so it lives INSIDE the+ row's box and runs the full sidebar width — straight-line dividers,+ no rounded corners, no state-dependent gaps. */.recording-group > .recording-row + .recording-row {border-top: 1px solid var(--border-primary);}+/* Rows themselves have sharp corners and full sidebar width — the+ active background, hover background, and hairline divider all+ extend edge-to-edge. No card chrome. */.recording-row {- border-radius: var(--radius-sm);position: relative;}diff --git a/templates/components/sidebar.html b/templates/components/sidebar.htmlindex d604b9ab..c3738c04 100644--- a/templates/components/sidebar.html+++ b/templates/components/sidebar.html@@ -267,8 +267,12 @@</div></div>- <!-- Recordings List -->- <div class="flex-1 overflow-y-auto p-4"+ <!-- Recordings List — full-bleed: no outer horizontal padding so+ every row, section header, and active-row band can run+ edge-to-edge across the sidebar. Vertical padding kept on+ top/bottom for breathing room above the first group and+ below the last. -->+ <div class="flex-1 overflow-y-auto py-3"@scroll="(e) => {const element = e.target;const threshold = 100; // Load more when 100px from bottom@@ -345,14 +349,15 @@</div></div>- <!-- Section group. Section header gets a subtle tinted- background so the time-window boundaries- (TODAY / THIS WEEK / etc.) read as structural- dividers, not just small captions. Rows use- tighter horizontal padding (px-2) so titles get- more room to breathe; the section header matches- so labels align with row content. -->- <div v-for="group in groupedRecordings" :key="group.title" class="mb-3">+ <!-- Section group. Section header runs the full sidebar+ width with a subtle tinted background so the+ time-window boundary (TODAY / THIS WEEK / etc.)+ reads as a real structural band. Rows below also+ run the full width — horizontal padding is on the+ row's INTERNAL content, not on a wrapper, so the+ active background, hover background, and hairline+ divider all extend edge-to-edge. -->+ <div v-for="group in groupedRecordings" :key="group.title"><h3 class="recording-group-header">${group.title}</h3>@@ -361,7 +366,7 @@:key="recording.id"@click="selectionMode ? toggleSelection(recording.id) : selectRecording(recording)":class="[- 'recording-row relative px-2 py-2.5 cursor-pointer transition-colors',+ 'recording-row relative px-3 py-2.5 cursor-pointer transition-colors',selectionMode && isSelected(recording.id)? 'bg-[var(--bg-accent)] is-active': selectedRecording?.id === recording.id && !selectionMode