mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-09 03:20:56 +00:00
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:
parent
dbe3676fad
commit
083028b1fd
1 changed files with 7 additions and 2 deletions
|
|
@ -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",
|
||||
}),
|
||||
[],
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue