Skip to content

Commit

Permalink
Fix X CTA on zoomable citation (#5964)
Browse files Browse the repository at this point in the history
  • Loading branch information
flvndvd committed Jul 1, 2024
1 parent 0d90313 commit a9365e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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.175",
"version": "0.2.176",
"scripts": {
"build": "rm -rf dist && rollup -c",
"build:with-tw-base": "rollup -c --environment INCLUDE_TW_BASE:true",
Expand Down
4 changes: 2 additions & 2 deletions sparkle/src/components/ZoomableImageCitationWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ export function ZoomableImageCitationWrapper({
<Dialog
open={isZoomed}
onClose={handleZoomToggle}
className="s-relative s-z-50 s-transition s-duration-300 s-ease-out data-[closed]:s-opacity-0"
className="s-relative s-z-50"
>
<div className="s-fixed s-inset-8 s-flex s-w-screen s-items-center s-justify-center s-p-4">
<div className="s-fixed s-inset-0 s-flex s-w-screen s-items-center s-justify-center s-bg-black/70 s-p-4 s-transition-opacity">
<Dialog.Panel className="s-max-w-lg s-space-y-4">
<Dialog.Title>
<div className="s-flex s-justify-end">
Expand Down

0 comments on commit a9365e4

Please sign in to comment.