File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/components/CodeEditor Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -122,17 +122,20 @@ class CodeEditor extends Component {
122
122
height : '100%' ,
123
123
width : '100%' ,
124
124
borderRadius : '0' ,
125
+ maxHeight : '340px !important' ,
125
126
marginTop : '0 !important' ,
126
127
marginLeft : '0 !important' ,
127
128
paddingLeft : '0 !important' ,
128
129
marginRight : '0 !important' ,
129
130
paddingRight : '0 !important' ,
131
+ marginBottom : '0 !important' ,
132
+ paddingBottom : '20px !important' ,
130
133
[ media . lessThan ( 'medium' ) ] : {
131
134
marginBottom : '0 !important' ,
132
135
} ,
136
+
133
137
134
138
'& pre.prism-code[contenteditable]' : {
135
- maxHeight : '280px !important' ,
136
139
outline : 0 ,
137
140
overflow : 'auto' ,
138
141
marginRight : '0 !important' ,
@@ -203,6 +206,8 @@ class CodeEditor extends Component {
203
206
< div
204
207
css = { {
205
208
padding : 10 ,
209
+ maxHeight : '340px !important' ,
210
+ overflow : 'auto' ,
206
211
207
212
'& input' : {
208
213
width : '100%' ,
You can’t perform that action at this time.
0 commit comments