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): restore display:flex on .ldr-app-container and filter invisible overflow (#3398)

LearningCircuit9d17fafbf2c0
diff --git a/src/local_deep_research/web/static/css/styles.css b/src/local_deep_research/web/static/css/styles.css
index 5d6d85a3fd..2b3010e1ba 100644
--- a/src/local_deep_research/web/static/css/styles.css
+++ b/src/local_deep_research/web/static/css/styles.css
@@ -165,6 +165,8 @@ a:hover {
/* Layout */
.ldr-app-container {
+ display: flex;
+ min-height: 100vh;
}
/* Sidebar */
diff --git a/tests/ui_tests/playwright/tests/mobile-ui-audit.spec.js b/tests/ui_tests/playwright/tests/mobile-ui-audit.spec.js
index d5dd8f60e3..25766b1620 100644
--- a/tests/ui_tests/playwright/tests/mobile-ui-audit.spec.js
+++ b/tests/ui_tests/playwright/tests/mobile-ui-audit.spec.js
@@ -162,6 +162,16 @@ test.describe('Mobile UI Audit - Issue Detection', () => {
if (isInScrollableContainer(el)) {
return;
}
+ // Skip invisible elements — they have bounding rects in WebKit
+ // but don't cause visible overflow
+ const style = window.getComputedStyle(el);
+ if (style.display === 'none' || style.visibility === 'hidden' || style.opacity === '0') {
+ return;
+ }
+ // Skip zero-area elements (e.g. collapsed containers)
+ if (rect.width === 0 || rect.height === 0) {
+ return;
+ }
results.issues.overflowingElements.push({
tag: el.tagName.toLowerCase(),
class: el.className?.toString().slice(0, 50) || '',