Update StyledWrapper.js (#1936)

Adjusting modal z-index to ensure that underlying components do not overlap the modal. This change ensures that the prettier button in a POST body no longer overlaps modal windows.
This commit is contained in:
David Reichert 2024-04-09 17:07:16 -04:00 committed by GitHub
parent 4f7c295b88
commit c9e40cbc94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ const Wrapper = styled.div`
align-items: flex-start;
justify-content: center;
overflow-y: auto;
z-index: 10;
z-index: 11;
background-color: rgba(0, 0, 0, 0.5);
}
@ -31,7 +31,7 @@ const Wrapper = styled.div`
background: var(--color-background-top);
border-radius: var(--border-radius);
position: relative;
z-index: 10;
z-index: 11;
max-width: calc(100% - var(--spacing-base-unit));
box-shadow: var(--box-shadow-base);
display: flex;