Skip to content

Commit

Permalink
Merge pull request #211 from UgnisSoftware/UGN-408
Browse files Browse the repository at this point in the history
Fix close button disappearing on scroll
  • Loading branch information
masiulis committed Oct 19, 2023
2 parents c6e131c + 25fcb42 commit 14167c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ModalCloseButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const ModalCloseButton = ({ onClose }: ModalCloseButtonProps) => {
aria-label="Close modal"
icon={<CgClose />}
color="white"
position="absolute"
position="fixed"
transform="translate(50%, -50%)"
onClick={() => setShowModal(true)}
zIndex="toast"
Expand Down

0 comments on commit 14167c4

Please sign in to comment.