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: remove dangerous body * overflow override in CSS (#1997)

LearningCircuit1d7020625e84
diff --git a/src/local_deep_research/web/static/css/custom_dropdown.css b/src/local_deep_research/web/static/css/custom_dropdown.css
index 8d3f4e6eb3..e4356fe5c6 100644
--- a/src/local_deep_research/web/static/css/custom_dropdown.css
+++ b/src/local_deep_research/web/static/css/custom_dropdown.css
@@ -42,47 +42,29 @@
display: none;
}
-/* Styles for when the dropdown is active */
+/* Styles for when the dropdown is active (fixed position, set by JS) */
.ldr-custom-dropdown-list.dropdown-active {
- z-index: 99999 !important; /* Extremely high z-index */
- margin-top: 0 !important; /* Reset margin as top/left are calculated */
- max-height: 40vh !important; /* Cap at 40% of viewport height */
- overflow-y: auto !important;
- box-shadow: 0 6px 20px rgba(var(--shadow-color-rgb), 0.5) !important; /* Stronger shadow */
- visibility: visible !important;
- opacity: 1 !important;
- clip: auto !important;
- clip-path: none !important;
- transform: none !important;
- pointer-events: auto !important;
-
- /* Ensure contrast with background */
- background-color: var(--bg-tertiary, #2a2a3a) !important;
- color: var(--text-primary, #f5f5f5) !important;
- border: 2px solid var(--accent-primary, #6e4ff6) !important; /* More visible border */
-
+ z-index: 99999;
+ margin-top: 0;
+ max-height: 40vh;
+ overflow-y: auto;
+ box-shadow: 0 6px 20px rgba(var(--shadow-color-rgb), 0.5);
+ visibility: visible;
+ opacity: 1;
+ clip: auto;
+ clip-path: none;
+ transform: none;
+ pointer-events: auto;
+ background-color: var(--bg-tertiary, #2a2a3a);
+ color: var(--text-primary, #f5f5f5);
+ border: 2px solid var(--accent-primary, #6e4ff6);
/* Width, top, left are set by JS */
}
-/* Explicitly override any ancestor overflow properties - more targeted to avoid side effects */
-body * {
- overflow: visible !important;
-}
-
-/* Immediately revert the blanket override for essential elements */
-html, body {
- overflow: auto !important;
-}
-.ldr-custom-dropdown-list,
-.ldr-custom-dropdown-list.dropdown-fixed {
- overflow-y: auto !important;
-}
-
/* Add a special class to the body when a dropdown is active */
body.dropdown-active {
- /* Apply a higher z-index to ensure body doesn't create a stacking context that traps our dropdown */
- z-index: auto !important;
- position: relative !important;
+ /* Position relative ensures proper stacking context */
+ position: relative;
}
.ldr-custom-dropdown-item {