Skip to content

Commit 14167c4

Browse files
authored
Merge pull request #211 from UgnisSoftware/UGN-408
Fix close button disappearing on scroll
2 parents c6e131c + 25fcb42 commit 14167c4

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)