Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
sidebar
Murtaza Nasir2594fe7422f2
diff --git a/static/css/styles.css b/static/css/styles.cssindex 6f37f4db..694c35b2 100644--- a/static/css/styles.css+++ b/static/css/styles.css@@ -146,6 +146,7 @@ main {flex-grow: 1;overflow-y: auto; /* Enable scrolling for content */padding-right: 6px; /* Space for scrollbar */+ min-height: 0; /* Added for robust flex scrolling */}.progress-popup { position: fixed; bottom: 1rem; left: 1rem; z-index: 100; transition: all 0.3s ease-in-out; min-width: 300px; border-radius: 12px; overflow: hidden; }.progress-popup.minimized { transform: translateY(calc(100% - 45px)); }@@ -508,10 +509,10 @@ div[v-if="!editingNotes"] {/* Ensure the lg:col-span-3 container can grow properly and scroll */.lg\:col-span-3.bg-\[var\(--bg-secondary\)\].p-6.rounded-lg.shadow-md.flex.flex-col.max-h-85vh {- max-height: none !important; /* Override the max-height constraint */- height: 100%;- flex: 1;- overflow-y: auto; /* Allow scrolling */+ /* max-height: none !important; /* Let Tailwind class 'max-h-85vh' apply */+ height: 100%; /* Occupy the height of its grid cell */+ flex: 1; /* For its own children, as it's a flex container */+ overflow-y: auto; /* Allow its own content to scroll if it exceeds its height (max 85vh) */}/* Modern toast notification styles */diff --git a/templates/index.html b/templates/index.htmlindex 246f97b6..426a2d06 100644--- a/templates/index.html+++ b/templates/index.html@@ -102,7 +102,7 @@</button><div class="grid grid-cols-1 lg:grid-cols-4 gap-6 flex-grow">- <div v-show="!isSidebarCollapsed" class="lg:col-span-1 bg-[var(--bg-secondary)] p-4 rounded-lg shadow-md sidebar-container">+ <div v-show="!isSidebarCollapsed" class="lg:col-span-1 bg-[var(--bg-secondary)] p-4 rounded-lg shadow-md sidebar-container max-h-85vh"><div class="flex justify-between items-center mb-2 sticky top-0 bg-[var(--bg-secondary)] pb-2 border-b border-[var(--border-primary)] sidebar-header"><h3 class="text-lg font-semibold text-[var(--text-primary)]">Recordings</h3><button @click="toggleSidebar" class="p-1 rounded-full text-[var(--text-muted)] hover:bg-[var(--bg-tertiary)] dark:text-gray-400 dark:hover:bg-gray-700 transition-colors duration-200" :title="isSidebarCollapsed ? 'Show Sidebar' : 'Hide Sidebar'">