1
0
mirror of https://github.com/usebruno/bruno.git synced 2025-07-11 17:55:28 +02:00

Update StyledWrapper.js ()

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

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