Remove some redundant styling

This commit is contained in:
Nathan Sobo
2017-04-21 12:54:23 -06:00
committed by Antonio Scandurra
parent 0996d90be3
commit 44539b1dc6
2 changed files with 1 additions and 8 deletions

View File

@@ -439,7 +439,6 @@ class TextEditorComponent {
if (!this.measuredContent || !this.gutterContainerVnode) {
const innerStyle = {
willChange: 'transform',
backgroundColor: 'inherit',
display: 'flex'
}
@@ -638,8 +637,7 @@ class TextEditorComponent {
contain: 'strict',
overflow: 'hidden',
width: this.getScrollWidth() + 'px',
height: this.getScrollHeight() + 'px',
backgroundColor: 'inherit'
height: this.getScrollHeight() + 'px'
}
}, tileNodes)
}

View File

@@ -48,7 +48,6 @@ atom-text-editor {
.line-numbers {
width: max-content;
background-color: inherit;
contain: content;
}
.line-number {
@@ -72,10 +71,7 @@ atom-text-editor {
}
.lines {
contain: strict;
background-color: inherit;
will-change: transform;
overflow: hidden;
}
.highlight {
@@ -84,7 +80,6 @@ atom-text-editor {
}
.highlight .region {
position: absolute;
pointer-events: none;
z-index: -1;
}