mirror of
https://github.com/atom/atom.git
synced 2026-01-22 05:17:57 -05:00
Set the min-width on the gutter to 1em
This ensures the text will have padding on the left side even when line numbers are disabled.
This commit is contained in:
@@ -28,16 +28,17 @@
|
||||
overflow: hidden;
|
||||
text-align: right;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.editor .gutter {
|
||||
padding-right: .5em;
|
||||
padding-left: .5em;
|
||||
min-width: 1em;
|
||||
box-sizing: border-box;
|
||||
text-align: right;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.editor .gutter .line-number {
|
||||
padding-right: .5em;
|
||||
padding-left: .5em;
|
||||
}
|
||||
|
||||
.editor .gutter .line-numbers {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user