mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-01 03:03:09 +03:00
Use octicon mixin for gutter and line fold icons
This corrects a line height mismatch issue between the editor and the gutter for certain fonts and font sizes. Close #689
This commit is contained in:
parent
4871a7a06d
commit
6178294537
@ -1,4 +1,5 @@
|
||||
@import "octicon-utf-codes.less";
|
||||
@import "octicon-mixins.less";
|
||||
|
||||
.editor {
|
||||
overflow: hidden;
|
||||
@ -58,21 +59,20 @@
|
||||
}
|
||||
|
||||
.editor .gutter .line-number:after {
|
||||
font-size: 0.8em;
|
||||
.icon(0.8em);
|
||||
content: @chevron-right;
|
||||
font-family: 'Octicons Regular';
|
||||
-webkit-font-smoothing: antialiased;
|
||||
opacity: .8;
|
||||
visibility: hidden;
|
||||
position: relative;
|
||||
top: -0.2em;
|
||||
}
|
||||
|
||||
.editor .fold-marker:after {
|
||||
font-size: 0.8em;
|
||||
.icon(0.8em);
|
||||
content: @ellipsis;
|
||||
opacity: 0.8;
|
||||
padding-left: 0.2em;
|
||||
font-family: 'Octicons Regular';
|
||||
-webkit-font-smoothing: antialiased;
|
||||
position: relative;
|
||||
top: -0.2em;
|
||||
}
|
||||
|
||||
.editor .line.cursor-line .fold-marker:after {
|
||||
|
Loading…
Reference in New Issue
Block a user