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:
Kevin Sawicki 2013-03-26 17:28:23 -04:00
parent 60189c0135
commit 4fddae68a9

View File

@ -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;
}