Skip to content

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

Python

Fix the white outline at the top of the EasyMDE editor in dark mode — EasyMDE's default CSS draws a 1px solid #ddd border on the toolbar's top/left/right edges; our existing override only set border-bottom so the three default-grey edges remained and read as a visible white outline against the dark editor surface; now reset all four sides with border: none and re-add only the bottom hairline using var(--border-secondary), matching the theme in both modes

Murtaza Nasir11c8de2dfbf6
diff --git a/static/css/styles.css b/static/css/styles.css
index bd82e032..34469d43 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -3559,6 +3559,12 @@ body {
.markdown-editor-container .EasyMDEContainer .editor-toolbar {
background: var(--bg-tertiary);
+ /* EasyMDE's default CSS puts a 1px solid #ddd on the toolbar's
+ top/left/right edges. In dark mode that reads as a white
+ outline at the top of the editor — explicitly reset all four
+ sides and re-add only the bottom hairline using the theme
+ variable. */
+ border: none;
border-bottom: 1px solid var(--border-secondary);
border-radius: 0.75rem 0.75rem 0 0;
padding: 0.5rem;