Skip to content

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

Python

fix: remove duplicate mobile sidebar backdrop rendered by both index.html and the sidebar component

Murtaza Nasir58063a99f608
diff --git a/templates/index.html b/templates/index.html
index 81329661..e7ed7c66 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -123,13 +123,7 @@
{% include 'components/header.html' %}
<div class="flex-1 flex overflow-hidden relative">
- <!-- Mobile Sidebar Backdrop -->
- <div v-if="!isSidebarCollapsed && isMobileScreen"
- @click="toggleSidebar"
- class="fixed inset-0 bg-black bg-opacity-50 z-40 lg:hidden">
- </div>
-
- <!-- Sidebar -->
+ <!-- Sidebar (renders its own mobile backdrop as its first element) -->
{% include 'components/sidebar.html' %}
<!-- Main Content Area -->