I tried to style gutters in editor so that they slightly overlap the content.
I achived this by setting: margin-right: -4px
to .cm-gutterElement
and setting overflow:visible
to .cm-gutter
.
Is this okay, or can this break something?
I tried to style gutters in editor so that they slightly overlap the content.
I achived this by setting: margin-right: -4px
to .cm-gutterElement
and setting overflow:visible
to .cm-gutter
.
Is this okay, or can this break something?
Frankly, I’m not sure, and I can’t give any guarantees on that.
@marijn I would like to achieve fold gutters similar to those in WebStorm. You can see they slightly overlap
Can this be done with code mirror safely?