Skip to content

Commit

Permalink
Make sure to level modal content with modal backdrop z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamik10 committed Oct 18, 2023
1 parent c3ad23e commit 0865717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/utils/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function Modal({
data-cy={dataCy}
style={{
// same as comment above
zIndex: modalIds.indexOf(modalId) + 11
zIndex: modalIds.indexOf(modalId) + 21
}}
>
<div
Expand All @@ -114,7 +114,7 @@ function Modal({
}`}
style={{
// same as comment above
zIndex: modalIds.indexOf(modalId) + 10
zIndex: modalIds.indexOf(modalId) + 20
}}
aria-label={closeModalAriaLabelText}
onClick={() => {
Expand Down

0 comments on commit 0865717

Please sign in to comment.