mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-02 20:07:25 +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;
|
overflow: hidden;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
min-width: 1em;
|
||||||
|
|
||||||
.editor .gutter {
|
|
||||||
padding-right: .5em;
|
|
||||||
padding-left: .5em;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor .gutter .line-number {
|
||||||
|
padding-right: .5em;
|
||||||
|
padding-left: .5em;
|
||||||
|
}
|
||||||
|
|
||||||
.editor .gutter .line-numbers {
|
.editor .gutter .line-numbers {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user