Skip to content

Commit

Permalink
Merge pull request #95005 from x24git/master
Browse files Browse the repository at this point in the history
Prevent CodeLens CSS selector name from being invalid
  • Loading branch information
jrieken authored Apr 14, 2020
2 parents 006f6aa + ee1b1df commit 4f1ad60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/codelens/codelensController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class CodeLensContribution implements IEditorContribution {
}));
this._onModelChange();

this._styleClassName = hash(this._editor.getId()).toString(16);
this._styleClassName = '_' + hash(this._editor.getId()).toString(16);
this._styleElement = dom.createStyleSheet(
dom.isInShadowDOM(this._editor.getContainerDomNode())
? this._editor.getContainerDomNode()
Expand Down

0 comments on commit 4f1ad60

Please sign in to comment.