Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

style(desktop-ui): let sidebar file explorer fill height with contained scroll

Diego Zacarias2a494317954b
diff --git a/desktop-app/ui/src/styles.css b/desktop-app/ui/src/styles.css
index 2699fb6c1..723a1bdd5 100644
--- a/desktop-app/ui/src/styles.css
+++ b/desktop-app/ui/src/styles.css
@@ -1804,13 +1804,38 @@ h3 {
min-width: 0;
margin: 0 0 var(--space-1) 0;
padding-left: var(--sidebar-nav-label-indent);
+ /* Claim the sidebar's leftover height so the tree gets real room; the scroll
+ is contained to .da-file-explorer below instead of the whole nav column. */
+ display: flex;
+ flex-direction: column;
+ flex: 1 1 auto;
+ min-height: 0;
}
.da-file-explorer {
min-width: 0;
- max-height: min(320px, 42vh);
+ flex: 1 1 auto;
+ min-height: 0;
overflow-y: auto;
- scrollbar-width: thin;
+ /* Chromium-only renderer: declaring scrollbar-width/scrollbar-color here would
+ disable the ::-webkit-scrollbar pill below, so the custom thumb owns it. */
+}
+
+.da-file-explorer::-webkit-scrollbar {
+ width: 8px;
+}
+
+.da-file-explorer::-webkit-scrollbar-thumb {
+ background: rgba(var(--edge-rgb), 0.4);
+ border-radius: 999px;
+ /* Padded track so the thumb reads as a thin floating pill, not a full-width bar. */
+ border: 2px solid transparent;
+ background-clip: padding-box;
+}
+
+.da-file-explorer::-webkit-scrollbar-thumb:hover {
+ background: rgba(var(--edge-rgb), 0.6);
+ background-clip: padding-box;
}
.da-file-explorer__message {