Remove line numbers background style

main
Jake Dexheimer 7 years ago
parent f13b394ebd
commit 9379528ccc

@ -160,6 +160,11 @@ class Carbon extends React.Component {
text-shadow: #eee8d5 0 1px; text-shadow: #eee8d5 0 1px;
} }
#container :global(.CodeMirror-gutters) {
background-color: unset;
border-right: none;
}
#container :global(.CodeMirror__container) { #container :global(.CodeMirror__container) {
min-width: inherit; min-width: inherit;
position: relative; position: relative;

@ -60,7 +60,7 @@ class Dropdown extends React.Component {
render() { render() {
// find longest list value in number of characters // find longest list value in number of characters
const MIN_WIDTH = this.props.list.reduce( const MIN_WIDTH = this.props.list.reduce(
(max, { name }) => (name.length > max ? name.length : max), (max, { name }) => (name && name.length > max ? name.length : max),
0 0
) )

@ -5,10 +5,6 @@ export const THEMES = [
id: '3024-night', id: '3024-night',
name: '3024 Night' name: '3024 Night'
}, },
{
id: 'ambiance',
name: 'Ambiance'
},
{ {
id: 'blackboard', id: 'blackboard',
name: 'Blackboard' name: 'Blackboard'

Loading…
Cancel
Save