Skip to content

Your lightweight open-source personal agent.

perf(webui): avoid subtree style invalidation while typing

chengyongru0d09b3dc090c
diff --git a/webui/src/globals.css b/webui/src/globals.css
index 02dd1fb82..41f9aefe6 100644
--- a/webui/src/globals.css
+++ b/webui/src/globals.css
@@ -716,7 +716,7 @@
}
}
/* Split content leaves no margin for floating conversation controls. */
- .thread-workspace:has([data-file-preview-panel]) > * {
+ .thread-preview-layout[data-preview-open] > .thread-conversation {
--thread-header-position: relative;
}
/* Keep room for the 49.5rem message column and controls in the side margin. */