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