Skip to content

Commit 523cb22

Browse files
committed
style: fix ImgGenModal div formatting and add missing line breaks
1 parent 7a2c1aa commit 523cb22

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/components/ImgGenUtils/ImgGenModal.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,14 @@ export function ImgGenModal({
8080
const effectivePromptText = promptText;
8181

8282
return createPortal(
83-
<div
84-
className="imggen-backdrop"
83+
<div
84+
className="imggen-backdrop"
8585
onClick={(e) => {
8686
e.stopPropagation(); // Prevent click from propagating beyond
8787
onClose();
88-
}}
89-
role="presentation">
88+
}}
89+
role="presentation"
90+
>
9091
<figure className="imggen-full-wrapper" onClick={(e) => e.stopPropagation()}>
9192
{error ? (
9293
<div className="imggen-backdrop-error">

0 commit comments

Comments
 (0)