fix(web): make run files sidebar tree blend into the page

Make the file tree's background transparent and zero out its inline
padding so the tree sits flush on the page instead of inside a styled
sidebar surface.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-05-08 18:14:08 -07:00
parent dbe3676fad
commit 083028b1fd
No known key found for this signature in database

View file

@ -150,8 +150,13 @@ export function FileTreeSidebar({
);
}, [changedPaths, model, selectedPath, selection]);
const themeStyles = useMemo(
() => themeToTreeStyles(pierreDark) as TreeThemeStyle,
const themeStyles = useMemo<TreeThemeStyle>(
() => ({
...(themeToTreeStyles(pierreDark) as TreeThemeStyle),
backgroundColor: "transparent",
"--trees-bg-override": "transparent",
"--trees-padding-inline-override": "0px",
}),
[],
);