Skip to content

Commit

Permalink
Update StyledWrapper.js (usebruno#1936)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
david-reichert-ef authored and slowjoe007 committed Apr 10, 2024
1 parent 72510c5 commit 4063d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bruno-app/src/components/Modal/StyledWrapper.js
Expand Up @@ -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);
}
Expand All @@ -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;
Expand Down

0 comments on commit 4063d8f

Please sign in to comment.