Skip to content

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

Python

Header title: edit + regenerate icon buttons now sit immediately next to the title text instead of being pushed to the far right edge — the h1 was carrying a flex-1 in display mode which made it grow to fill all available horizontal space in its (flex-1) wrapper, so the action icons ended up at the right edge of the header even when the title itself was short; removing flex-1 from the h1 (keeping min-w-0 + truncate) lets the title size to its natural content, and the icon buttons immediately to its right are pulled in with it; the input version in edit mode KEEPS flex-1 so it still fills the available width when the user is typing

Murtaza Nasir9a81e454a14f
diff --git a/templates/components/header.html b/templates/components/header.html
index b6365456..595f7914 100644
--- a/templates/components/header.html
+++ b/templates/components/header.html
@@ -38,7 +38,7 @@
<h1 v-if="!editingTitle"
@dblclick="selectedRecording.can_edit !== false ? toggleEditTitle() : null"
:class="[
- 'text-base sm:text-lg font-semibold truncate transition-opacity min-w-0 flex-1',
+ 'text-base sm:text-lg font-semibold truncate transition-opacity min-w-0',
selectedRecording.is_shared ? 'text-[var(--text-accent)]' : 'text-[var(--text-primary)]',
selectedRecording.can_edit !== false ? 'cursor-text hover:opacity-80' : ''
]"