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(ui): display newest logs at top using CSS column-reverse (#1796)

LearningCircuita857797de85b
diff --git a/src/local_deep_research/web/static/css/styles.css b/src/local_deep_research/web/static/css/styles.css
index 3053497284..3454f0eb13 100644
--- a/src/local_deep_research/web/static/css/styles.css
+++ b/src/local_deep_research/web/static/css/styles.css
@@ -1734,6 +1734,8 @@ textarea:focus, input[type="text"]:focus {
line-height: 1.4;
overflow-y: auto;
height: 100%;
+ display: flex;
+ flex-direction: column-reverse;
}
.ldr-console-log-entry {
diff --git a/src/local_deep_research/web/static/js/components/logpanel.js b/src/local_deep_research/web/static/js/components/logpanel.js
index 176dfe5b56..5896656011 100644
--- a/src/local_deep_research/web/static/js/components/logpanel.js
+++ b/src/local_deep_research/web/static/js/components/logpanel.js
@@ -341,8 +341,8 @@
// enabled to make that clear.
if (window._logPanelState.autoscroll) {
autoscrollButton.classList.add('ldr-selected');
- // Immediately scroll to the bottom of the panel.
- consoleLogContainer.scrollTop = consoleLogContainer.scrollHeight;
+ // Immediately scroll to top (newest logs are at top with column-reverse).
+ consoleLogContainer.scrollTop = 0;
} else {
autoscrollButton.classList.remove('ldr-selected');
}
@@ -889,9 +889,9 @@
// No need to scroll when loading all logs
// Scroll will be handled after all logs are loaded
if (incrementCounter && window._logPanelState.autoscroll) {
- // Auto-scroll to newest log (at the bottom)
+ // Auto-scroll to newest log (at the top with column-reverse)
setTimeout(() => {
- consoleLogContainer.scrollTop = consoleLogContainer.scrollHeight;
+ consoleLogContainer.scrollTop = 0;
}, 0);
}
}