Skip to content

Commit

Permalink
[sparkle] - fix(Sheet): close button position (#10722)
Browse files Browse the repository at this point in the history
* [sparkle] - fix: adjust SheetClose button positioning

 - Remove top positioning class to vertically align the close button correctly within the SheetHeader component

* [sparkle] - feature: bump package version to 0.2.393

 - Update the package and lockfile version to ensure the latest changes are incorporated in the release package.
  • Loading branch information
JulesBelveze authored Feb 12, 2025
1 parent 85a83cd commit 747c57a
Show file tree
Hide file tree
Showing 3 changed files with 4 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.392",
"version": "0.2.393",
"scripts": {
"build": "rm -rf dist && npm run tailwind && npm run build:esm && npm run build:cjs",
"tailwind": "tailwindcss -i ./src/styles/tailwind.css -o dist/sparkle.css",
Expand Down
2 changes: 1 addition & 1 deletion sparkle/src/components/Sheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const SheetHeader = ({
{...props}
>
{children}
<SheetClose asChild className="s-absolute s-right-3 s-top-4">
<SheetClose asChild className="s-absolute s-right-3">
{!hideButton && <Button icon={XMarkIcon} variant="ghost" size="sm" />}
</SheetClose>
</div>
Expand Down

0 comments on commit 747c57a

Please sign in to comment.