Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Fix the actual root cause of the duplicate copyright lines on settings — every tab-content was rendering simultaneously because the inline <style> rule .tab-content { display: flex } was overriding Tailwind's .hidden { display: none } in this environment (the inline block loads after Tailwind's runtime-injected utilities, so equal-specificity rule order favoured mine); the visible tabs all rendered their .tab-footer at once, producing stacked copyright lines and stacked Save buttons; added a more-specific .tab-content.hidden { display: none } rule that wins regardless of stylesheet order
Murtaza Nasir3b03f03d7519
diff --git a/templates/account.html b/templates/account.htmlindex 76f9af7d..937ed25a 100644--- a/templates/account.html+++ b/templates/account.html@@ -222,11 +222,14 @@flex-direction: column;}- /* Each tab content is a flex column that fills the wrapper.- Hidden tab contents are display:none (Tailwind .hidden) and- don't participate in flex layout. The visible one becomes a- flex column with its own internal scroll body + optional- footer. */+ /* Each tab content is a flex column that fills the wrapper. The+ inline <style> block in this template loads after Tailwind's+ runtime-injected utilities in some environments, which let+ `.tab-content { display: flex }` win over `.hidden { display:+ none }` and rendered every tab simultaneously. The+ compound `.tab-content.hidden` selector below is more+ specific than either rule alone, so the hidden state always+ wins regardless of stylesheet order. */.tab-content {flex: 1 1 auto;min-height: 0;@@ -234,6 +237,9 @@flex-direction: column;overflow: hidden;}+ .tab-content.hidden {+ display: none;+ }/* The scrollable body of each tab — where the form fields andcontent live. Has the inner padding that used to be on the