Skip to content

Commit

Permalink
Update glyph margin CSS rule names (#185594)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceerhl authored Jun 19, 2023
1 parent 8f88484 commit daa66ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Keeping name short for faster parsing.
cgmr = core glyph margin rendering (div)
*/
.monaco-editor .margin-view-overlays .cgmr {
.monaco-editor .glyph-margin-widgets .cgmr {
position: absolute;
display: flex;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class GlyphMarginWidgets extends ViewPart {
const layoutInfo = options.get(EditorOption.layoutInfo);

this.domNode = createFastDomNode(document.createElement('div'));
this.domNode.setClassName('glyphMarginWidgets');
this.domNode.setClassName('glyph-margin-widgets');
this.domNode.setPosition('absolute');
this.domNode.setTop(0);

Expand Down

0 comments on commit daa66ad

Please sign in to comment.