Skip to content

Commit

Permalink
Adjust layout style
Browse files Browse the repository at this point in the history
  • Loading branch information
Rokt33r committed Dec 21, 2020
1 parent fb21933 commit 4a38d57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/organisms/SearchModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,10 @@ const EditorPreview = styled.div`
${borderTop};
width: 100%;
flex: 1;
flex-shrink: 0;
height: 324px;
display: flex;
overflow: hidden;
flex-direction: column;
& > .preview-control {
flex-shrink: 0;
Expand Down Expand Up @@ -462,6 +465,7 @@ const EditorPreview = styled.div`
}
& > .editor {
flex: 1;
overflow-y: auto;
}
.CodeMirror {
height: 100%;
Expand Down

0 comments on commit 4a38d57

Please sign in to comment.