Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
sidebar
Murtaza Nasirffab3382c88b
diff --git a/templates/index.html b/templates/index.htmlindex 32eea052..e4026883 100644--- a/templates/index.html+++ b/templates/index.html@@ -115,8 +115,8 @@/* Sidebar styles for fixed height and independent scrolling */.sidebar-container {- max-height: 100vh;- height: calc(100vh - 120px); /* Adjust based on header/footer height */+ height: 100%; /* Match parent height */+ max-height: calc(100vh - 120px); /* Limit maximum height */position: sticky;top: 0;display: flex;@@ -124,6 +124,12 @@overflow: hidden; /* Prevent overall sidebar overflow */}+ /* Ensure the grid container has a fixed height */+ .grid-container {+ height: 100%;+ min-height: 600px; /* Minimum height to ensure content is visible */+ }+.sidebar-header {flex-shrink: 0; /* Prevent header from shrinking */}@@ -539,7 +545,7 @@<i class="fas fa-chevron-right"></i></button>- <div class="grid grid-cols-1 lg:grid-cols-4 gap-6 flex-grow">+ <div class="grid grid-cols-1 lg:grid-cols-4 gap-6 flex-grow grid-container"><div v-show="!isSidebarCollapsed" class="lg:col-span-1 bg-[var(--bg-secondary)] p-4 rounded-lg shadow-md sidebar-container"><div class="flex justify-between items-center mb-4 sticky top-0 bg-[var(--bg-secondary)] pb-3 border-b border-[var(--border-primary)] sidebar-header"><h3 class="text-lg font-semibold text-[var(--text-primary)]">Recordings</h3>