Skip to content

Commit 25fcb42

Browse files
committed
UGN-408 Fix close button disappearing on scroll
1 parent c6e131c commit 25fcb42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ModalCloseButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const ModalCloseButton = ({ onClose }: ModalCloseButtonProps) => {
2929
aria-label="Close modal"
3030
icon={<CgClose />}
3131
color="white"
32-
position="absolute"
32+
position="fixed"
3333
transform="translate(50%, -50%)"
3434
onClick={() => setShowModal(true)}
3535
zIndex="toast"

0 commit comments

Comments
 (0)