Studio: clip KB detail slot so files view can't widen the dialog

This commit is contained in:
Roland Tannous 2026-05-29 20:13:51 +04:00
commit 8cc0b80704

View file

@ -119,7 +119,10 @@ export function KnowledgeBasesTab() {
{panelOpen && activeKb && activePanel ? (
<>
<Separator orientation="vertical" className="h-auto" />
<div className="min-w-0 flex-1">
{/* overflow-hidden so long document names (which spill past the
flex slot before truncation kicks in) can never widen the
workspace and shift the whole dialog right. */}
<div className="min-w-0 flex-1 overflow-hidden">
<KBDetailPanel
kb={activeKb}
panel={activePanel}