Skip to content

Commit

Permalink
fix: hide overflow in sparkle tree (#2267)
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanierh authored Oct 26, 2023
1 parent 9002c44 commit 500f90f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sparkle/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sparkle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dust-tt/sparkle",
"version": "0.2.26",
"version": "0.2.27",
"scripts": {
"build": "rm -rf dist && rollup -c",
"build:with-tw-base": "rollup -c --environment INCLUDE_TW_BASE:true",
Expand Down
4 changes: 3 additions & 1 deletion sparkle/src/components/Tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export function Tree({ children, isLoading }: TreeProps) {
<Spinner size="sm" />
</div>
) : (
<div className="s-flex s-flex-col s-gap-1">{children}</div>
<div className="s-flex s-flex-col s-gap-1 s-overflow-hidden">
{children}
</div>
);
}

Expand Down

0 comments on commit 500f90f

Please sign in to comment.