Commit 97577c05 authored by Denys Mishunov's avatar Denys Mishunov

Fixed padding for line-numbers in Editor Lite

We add a custom CSS class to the instances of the Editor Lite that
is used to apply styles with higher specificity in the dedicated
stylesheet
parent a91d77a6
......@@ -11,6 +11,7 @@ export default class Editor {
this.instance = null;
this.model = null;
this.options = {
extraEditorClassName: 'gl-editor-lite',
...defaultEditorOptions,
...options,
};
......
......@@ -70,3 +70,4 @@
@import 'framework/system_messages';
@import "framework/spinner";
@import 'framework/card';
@import 'framework/editor-lite';
.monaco-editor.gl-editor-lite {
.line-numbers {
@include gl-pt-0;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment