Browse Source

Fix margin and border-radius in CodeEditor result and error section.

main
Fernando Poumián 7 years ago
parent
commit
27994d5fa0
  1. 7
      src/components/CodeEditor/CodeEditor.js

7
src/components/CodeEditor/CodeEditor.js

@ -127,6 +127,9 @@ class CodeEditor extends Component {
paddingLeft: '0 !important', paddingLeft: '0 !important',
marginRight: '0 !important', marginRight: '0 !important',
paddingRight: '0 !important', paddingRight: '0 !important',
[media.lessThan('medium')]: {
marginBottom: '0 !important',
},
'& pre.prism-code[contenteditable]': { '& pre.prism-code[contenteditable]': {
maxHeight: '280px !important', maxHeight: '280px !important',
@ -150,7 +153,7 @@ class CodeEditor extends Component {
fontSize: 12, fontSize: 12,
lineHeight: 1.5, lineHeight: 1.5,
[media.lessThan('small')]: { [media.lessThan('medium')]: {
borderRadius: '0 0 10px 10px', borderRadius: '0 0 10px 10px',
}, },
}}> }}>
@ -186,7 +189,7 @@ class CodeEditor extends Component {
border: `1px solid ${colors.divider}`, border: `1px solid ${colors.divider}`,
borderRadius: '0 10px 10px 0', borderRadius: '0 10px 10px 0',
[media.lessThan('small')]: { [media.lessThan('medium')]: {
borderRadius: '0 0 10px 10px', borderRadius: '0 0 10px 10px',
}, },
}}> }}>

Loading…
Cancel
Save