Skip to content

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

Python

Recording notes (finished/accordion): editor fills the section edge-to-edge

Murtaza Nasir382bfcd359d7
diff --git a/static/css/styles.css b/static/css/styles.css
index 52a9c3d4..ba25552f 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -4046,6 +4046,14 @@ body.fullscreen-mode {
max-height: none !important;
}
+/* In the accordion (recording-finished) state the editor fills the
+ section edge-to-edge, so square off the corners — rounded corners would
+ leave gaps against the square section. */
+.recording-notes-editor.accordion-expanded .EasyMDEContainer,
+.recording-notes-editor.accordion-expanded .editor-toolbar {
+ border-radius: 0 !important;
+}
+
.recording-notes-editor .EasyMDEContainer {
height: 100% !important; /* Fill parent container */
display: flex !important;
diff --git a/templates/components/recording-view.html b/templates/components/recording-view.html
index 6ca26973..5280d9fc 100644
--- a/templates/components/recording-view.html
+++ b/templates/components/recording-view.html
@@ -107,8 +107,9 @@
<i :class="['fas text-[var(--text-muted)] transition-transform duration-200',
expandedSection === 'notes' ? 'fa-chevron-up' : 'fa-chevron-down']"></i>
</button>
- <!-- Content (when expanded) -->
- <div v-show="expandedSection === 'notes'" class="flex-1 min-h-0 flex flex-col p-2 md:p-3">
+ <!-- Content (when expanded). No padding — the editor
+ fills the section edge-to-edge. -->
+ <div v-show="expandedSection === 'notes'" class="flex-1 min-h-0 flex flex-col">
<div class="recording-notes-editor accordion-expanded">
<textarea ref="recordingNotesEditor" v-model="recordingNotes"
class="w-full h-full bg-[var(--bg-input)] border border-[var(--border-secondary)] rounded-lg p-2 md:p-3 text-sm focus:outline-none focus:ring-2 focus:ring-[var(--ring-focus)] resize-none"