mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
...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.
44 lines
737 B
Plaintext
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;
|
|
}
|
|
}
|