Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

refactor(settings): drop !important specificity debt from mobile section-header (#4484)

LearningCircuitc04c1a9e2e5b
diff --git a/src/local_deep_research/web/static/css/settings-mobile-fix.css b/src/local_deep_research/web/static/css/settings-mobile-fix.css
index af86e54d36..0ffd7feb2d 100644
--- a/src/local_deep_research/web/static/css/settings-mobile-fix.css
+++ b/src/local_deep_research/web/static/css/settings-mobile-fix.css
@@ -399,20 +399,11 @@
align-items: center;
}
- /* Section accordion header — when the JS collapses sections by default on
- mobile (to keep the Settings page from rendering past 16384px tall),
- the header is the user's tap-to-drill-in surface. settings.css line
- 1419 stacks it as a column on mobile which buries the chevron under
- the title; override back to a row layout so the affordance is obvious.
- 44px enforces the touch-target floor. */
- .ldr-settings-section-header {
- flex-direction: row !important;
- align-items: center !important;
- justify-content: space-between !important;
- gap: 0.75rem !important;
- min-height: 44px;
- padding: 0.75rem 1rem;
- }
+ /* Section accordion header layout (row, 44px touch target) now lives in
+ settings.css next to the rest of the mobile media query — no override
+ needed here. Previously this block carried four `!important` rules to
+ win against a column-layout rule that has since been corrected at the
+ source. */
.ldr-settings-toggle-icon {
flex-shrink: 0;
diff --git a/src/local_deep_research/web/static/css/settings.css b/src/local_deep_research/web/static/css/settings.css
index 5b9c9c10e7..fb922ef6ed 100644
--- a/src/local_deep_research/web/static/css/settings.css
+++ b/src/local_deep_research/web/static/css/settings.css
@@ -1422,10 +1422,17 @@
margin: 0 0 1rem 0;
}
+ /* Section accordion header — every .ldr-settings-section-header is an
+ accordion (the JS attaches a tap-to-toggle handler and a data-target
+ pointing at a collapsible body). Row layout keeps the chevron affordance
+ on the right where the user expects it; column layout buries the chevron
+ under the title. 44px enforces the WCAG 2.5.5 touch-target floor. */
.ldr-settings-section-header {
- flex-direction: column;
- align-items: flex-start;
- gap: 0.5rem;
+ flex-direction: row;
+ align-items: center;
+ justify-content: space-between;
+ gap: 0.75rem;
+ min-height: 44px;
padding: 0.75rem 1rem;
}