From 0d8304aaa218a002a894ec8ac78342b3e4b5c8c3 Mon Sep 17 00:00:00 2001 From: Joyce Er Date: Mon, 19 Jun 2023 09:50:48 -0700 Subject: [PATCH] Update glyph margin CSS rule names --- src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css | 2 +- src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css b/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css index ee86a567698a1..af5c8a71f2360 100644 --- a/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css +++ b/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css @@ -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; diff --git a/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.ts b/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.ts index 919d0aad1f982..74e92ed786753 100644 --- a/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.ts +++ b/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.ts @@ -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);