Files
atom/static/text-editor.less
Antonio Scandurra 3d29db49a4 Use position: relative for .line-number elements
...because packages like `.git-diff` are relying on this behavior to
position their decorations. This didn't seem to degrade layout times, so
it makes sense to just add it to keep package breakage to a minimum.
2017-05-05 09:29:29 +02:00

44 lines
737 B
Plaintext

@import "octicon-mixins.less";
atom-text-editor {
.gutter-container {
float: left;
width: min-content;
background-color: inherit;
}
.line-numbers {
width: max-content;
background-color: inherit;
contain: content;
}
.line-number {
width: min-content;
padding-left: .5em;
white-space: nowrap;
opacity: 0.6;
position: relative;
.icon-right {
.octicon(chevron-down, 0.8em);
display: inline-block;
visibility: hidden;
opacity: .6;
padding: 0 .4em;
&::before {
text-align: center;
}
}
}
.lines {
contain: strict;
background-color: inherit;
float: left;
will-change: transform;
overflow: hidden;
}
}