Skip to content

Commit

Permalink
style: update StyledWrapper to use flex layout and adjust dialog posi…
Browse files Browse the repository at this point in the history
…tioning (#3888)
  • Loading branch information
sanish-bruno authored Jan 27, 2025
1 parent fee631d commit 05be59f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/bruno-app/src/components/CodeEditor/StyledWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ const StyledWrapper = styled.div`
font-size: ${(props) => (props.fontSize ? `${props.fontSize}px` : 'inherit')};
line-break: anywhere;
flex: 1 1 0;
display: flex;
flex-direction: column-reverse;
}
/* Removes the glow outline around the folded json */
Expand All @@ -26,6 +28,10 @@ const StyledWrapper = styled.div`
.CodeMirror-dialog {
overflow: visible;
position: relative;
top: unset;
left: unset;
input {
background: transparent;
border: 1px solid #d3d6db;
Expand Down

0 comments on commit 05be59f

Please sign in to comment.