From 79776a1024f8e01a143e5a1135025851bfa9c384 Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Fri, 1 Sep 2017 02:20:45 +0530 Subject: [PATCH] design fixes --- components/ConversionPanel.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/components/ConversionPanel.js b/components/ConversionPanel.js index 22dba5a..e17de8f 100644 --- a/components/ConversionPanel.js +++ b/components/ConversionPanel.js @@ -305,8 +305,12 @@ export default class ConversionPanel extends PureComponent { .react-codemirror2, .CodeMirror { display: flex; flex: 1; - width: 100% !important; - height: calc(100%) !important; + width: 100%; + height: calc(100% - 50px); + } + + .CodeMirror { + height: calc(100%) } .right .CodeMirror-scroll { @@ -319,10 +323,10 @@ export default class ConversionPanel extends PureComponent { .split #code, .split .CodeMirror { - height: calc(100%) !important; + height: calc(100%); } .split .react-codemirror2 { - height: calc(50% - 52px) !important; + height: calc(50% - 52px); } .right .CodeMirror { @@ -336,7 +340,6 @@ export default class ConversionPanel extends PureComponent { .right { box-sizing: border-box; - padding-bottom: 10px; } label {