Skip to content

The agent that grows with you

fix(desktop): sort lightbox dialog props for eslint (hermes-agent 127247)

Brooklyn Nicholson29f43eb05a53
diff --git a/apps/desktop/src/components/chat/zoomable-image.tsx b/apps/desktop/src/components/chat/zoomable-image.tsx
index a006053accc..c38a261f4c9 100644
--- a/apps/desktop/src/components/chat/zoomable-image.tsx
+++ b/apps/desktop/src/components/chat/zoomable-image.tsx
@@ -169,8 +169,6 @@ export function ImageLightbox({
</div>
)}
className="w-auto max-h-[calc(100vh-12rem)] max-w-[calc(100vw-12rem)] border-0 bg-transparent! shadow-none!"
- overlayClassName="bg-black/60"
- showCloseButton={false}
// The media-lightbox shell variant. styles.css paints every
// [data-slot='dialog-content'] with the themed elevated background +
// --shadow-md — fine for opaque dialogs, but this shell is meant to be
@@ -181,6 +179,8 @@ export function ImageLightbox({
// attribute selector out-specifies the plain utilities — hence the
// important utilities and the data-variant opt-out in styles.css.
data-variant="media-lightbox"
+ overlayClassName="bg-black/60"
+ showCloseButton={false}
>
<div className="group/lightbox relative inline-block">
<img