Skip to content

Commit c464352

Browse files
committed
remove marginbottom, fix screen size of media queries for border-radius
1 parent b60dc47 commit c464352

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/CodeEditor/CodeEditor.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class CodeEditor extends Component {
105105
overflow: 'hidden',
106106
borderRadius: '10px 0 0 10px',
107107

108-
[media.lessThan('small')]: {
108+
[media.lessThan('medium')]: {
109109
borderRadius: '10px 10px 0 0',
110110
},
111111
}}>
@@ -128,6 +128,10 @@ class CodeEditor extends Component {
128128
marginRight: '0 !important',
129129
paddingRight: '0 !important',
130130

131+
[media.lessThan('medium')]: {
132+
marginBottom: '0 !important',
133+
},
134+
131135
'& pre.prism-code[contenteditable]': {
132136
maxHeight: '280px !important',
133137
outline: 0,
@@ -186,7 +190,7 @@ class CodeEditor extends Component {
186190
border: `1px solid ${colors.divider}`,
187191
borderRadius: '0 10px 10px 0',
188192

189-
[media.lessThan('small')]: {
193+
[media.lessThan('medium')]: {
190194
borderRadius: '0 0 10px 10px',
191195
},
192196
}}>

0 commit comments

Comments
 (0)