mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-08 14:02:09 +01:00
style: update StyledWrapper to use flex layout and adjust dialog positioning (#3888)
This commit is contained in:
parent
fee631d496
commit
05be59f00c
@ -8,6 +8,8 @@ const StyledWrapper = styled.div`
|
|||||||
font-size: ${(props) => (props.fontSize ? `${props.fontSize}px` : 'inherit')};
|
font-size: ${(props) => (props.fontSize ? `${props.fontSize}px` : 'inherit')};
|
||||||
line-break: anywhere;
|
line-break: anywhere;
|
||||||
flex: 1 1 0;
|
flex: 1 1 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column-reverse;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Removes the glow outline around the folded json */
|
/* Removes the glow outline around the folded json */
|
||||||
@ -26,6 +28,10 @@ const StyledWrapper = styled.div`
|
|||||||
|
|
||||||
.CodeMirror-dialog {
|
.CodeMirror-dialog {
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
|
position: relative;
|
||||||
|
top: unset;
|
||||||
|
left: unset;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 1px solid #d3d6db;
|
border: 1px solid #d3d6db;
|
||||||
|
Loading…
Reference in New Issue
Block a user