Skip to content

Commit 9e36652

Browse files
committed
Use a different way to force line widget margins to stay inside container
Issue #5137
1 parent 56c271f commit 9e36652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/codemirror.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
270270
.CodeMirror-linewidget {
271271
position: relative;
272272
z-index: 2;
273-
overflow: auto;
273+
padding: 0.1px; /* Force widget margins to stay inside of the container */
274274
}
275275

276276
.CodeMirror-widget {}

0 commit comments

Comments
 (0)