mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-30 18:18:45 +03: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:
parent
60189c0135
commit
4fddae68a9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user