Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
fix z-index in modal elements
Browse files Browse the repository at this point in the history
  • Loading branch information
cdedreuille committed Sep 26, 2023
1 parent f9003d9 commit a21205b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Modal/Modal.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const StyledOverlay = styled.div`
inset: 0px;
width: 100%;
height: 100%;
z-index: 10;
`;

export const StyledContent = styled.div<{
Expand All @@ -27,6 +28,7 @@ export const StyledContent = styled.div<{
max-width: calc(100% - 40px);
max-height: 85vh;
overflow: hidden;
z-index: 11;
&:focus-visible {
outline: none;
Expand Down

0 comments on commit a21205b

Please sign in to comment.