mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Remove some redundant styling
This commit is contained in:
committed by
Antonio Scandurra
parent
0996d90be3
commit
44539b1dc6
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user