Skip to content

Commit 4a38d57

Browse files
committed
Adjust layout style
1 parent fb21933 commit 4a38d57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/organisms/SearchModal.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,10 @@ const EditorPreview = styled.div`
417417
${borderTop};
418418
width: 100%;
419419
flex: 1;
420+
flex-shrink: 0;
421+
height: 324px;
420422
display: flex;
423+
overflow: hidden;
421424
flex-direction: column;
422425
& > .preview-control {
423426
flex-shrink: 0;
@@ -462,6 +465,7 @@ const EditorPreview = styled.div`
462465
}
463466
& > .editor {
464467
flex: 1;
468+
overflow-y: auto;
465469
}
466470
.CodeMirror {
467471
height: 100%;

0 commit comments

Comments
 (0)