From 4a38d579217642161daadd14c46d8f8f2d3bb402 Mon Sep 17 00:00:00 2001 From: Junyoung Choi Date: Mon, 21 Dec 2020 19:55:47 +0900 Subject: [PATCH] Adjust layout style --- src/components/organisms/SearchModal.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/organisms/SearchModal.tsx b/src/components/organisms/SearchModal.tsx index 11e54388fe..582181463d 100644 --- a/src/components/organisms/SearchModal.tsx +++ b/src/components/organisms/SearchModal.tsx @@ -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; @@ -462,6 +465,7 @@ const EditorPreview = styled.div` } & > .editor { flex: 1; + overflow-y: auto; } .CodeMirror { height: 100%;