Skip to content

Commit

Permalink
fix: z-index for close button on error display
Browse files Browse the repository at this point in the history
  • Loading branch information
mattystank committed Jun 5, 2024
1 parent 702fb48 commit 67da7b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/c-cda/validation/results/ErrorDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ const ErrorDisplayCard = ({ open, handleClose, response }: ErrorDisplayCardProps
<>
{response ? (
<Dialog open={open} maxWidth="sm" onClose={handleClose}>
<IconButton aria-label="Close Dialog" sx={{ position: 'absolute', right: 8, top: 8 }} onClick={handleClose}>
<IconButton
aria-label="Close Dialog"
sx={{ zIndex: '1000', position: 'absolute', right: 8, top: 8 }}
onClick={handleClose}
>
<CloseIcon htmlColor={palette.white} />
</IconButton>
<Box px={4} py={3} alignItems={'flex-start'} display={'flex'} flexDirection={'row'} bgcolor={palette.warning}>
Expand Down

0 comments on commit 67da7b6

Please sign in to comment.