Skip to content

Commit 27994d5

Browse files
committed
Fix margin and border-radius in CodeEditor result and error section.
1 parent dd97731 commit 27994d5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/CodeEditor/CodeEditor.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ class CodeEditor extends Component {
127127
paddingLeft: '0 !important',
128128
marginRight: '0 !important',
129129
paddingRight: '0 !important',
130+
[media.lessThan('medium')]: {
131+
marginBottom: '0 !important',
132+
},
130133

131134
'& pre.prism-code[contenteditable]': {
132135
maxHeight: '280px !important',
@@ -150,7 +153,7 @@ class CodeEditor extends Component {
150153
fontSize: 12,
151154
lineHeight: 1.5,
152155

153-
[media.lessThan('small')]: {
156+
[media.lessThan('medium')]: {
154157
borderRadius: '0 0 10px 10px',
155158
},
156159
}}>
@@ -186,7 +189,7 @@ class CodeEditor extends Component {
186189
border: `1px solid ${colors.divider}`,
187190
borderRadius: '0 10px 10px 0',
188191

189-
[media.lessThan('small')]: {
192+
[media.lessThan('medium')]: {
190193
borderRadius: '0 0 10px 10px',
191194
},
192195
}}>

0 commit comments

Comments
 (0)