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.

fix(css): extend mobile-nav clearance to News/Library/Collections wrappers (#4314)

LearningCircuit043ebadb4e25
diff --git a/src/local_deep_research/web/static/css/mobile-responsive.css b/src/local_deep_research/web/static/css/mobile-responsive.css
index b2facbd4b6..5f278629c8 100644
--- a/src/local_deep_research/web/static/css/mobile-responsive.css
+++ b/src/local_deep_research/web/static/css/mobile-responsive.css
@@ -16,16 +16,34 @@
.ldr-main-content,
.ldr-page.active,
- main {
+ main,
+ /* Pages that wrap their content in a custom container instead of
+ ``.ldr-page.active`` (News, Library, Library Collections) used
+ to slip through this rule and let interactive elements sit
+ behind the bottom-fixed mobile nav. See ``all-pages-mobile.spec.js``
+ "Content Above Mobile Nav" failures on /history/, /news/,
+ /library/, /library/collections, /metrics/ in mobile-safari
+ runs through 2026-05-24 (release run #2524). Adding the
+ custom wrappers here gives them the same standardized nav
+ clearance the ``.ldr-page.active`` pages already enjoy. */
+ .ldr-news-page-wrapper,
+ .ldr-library-container,
+ .ldr-rag-manager-container {
padding-bottom: var(--mobile-nav-clearance-standard) !important; /* Standardized nav clearance */
margin-bottom: 0;
}
- /* Cards and containers at the bottom need extra spacing */
+ /* Cards and containers at the bottom need extra spacing.
+ Bumped from 80 → ``--mobile-nav-clearance-minimal`` (80 +
+ safe-area-inset-bottom) so iPhone's home-indicator inset is
+ included; the bare 80 was just barely covering the 56px nav +
+ 34px home indicator on iPhone 14, leaving headers/filters
+ that render near the bottom of a short page (collapsed help
+ panels + empty result lists) overlapping by 30–100 px. */
.ldr-card:last-child,
.ldr-metric-card:last-child,
form:last-child {
- margin-bottom: 80px !important;
+ margin-bottom: var(--mobile-nav-clearance-minimal) !important;
}
/* Fix for modals and overlays */