mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
deco - expect icon uris with spaces
This commit is contained in:
parent
eac4d3c749
commit
00f0766b0f
|
@ -148,7 +148,7 @@ export class IconLabel {
|
|||
this.descriptionNode.empty = !description;
|
||||
|
||||
if (options && options.extraIcon) {
|
||||
this.element.style.backgroundImage = `url(${options.extraIcon.toString(true)})`;
|
||||
this.element.style.backgroundImage = `url("${options.extraIcon.toString(true)}")`;
|
||||
this.element.style.backgroundRepeat = 'no-repeat';
|
||||
this.element.style.backgroundPosition = 'right center';
|
||||
this.element.style.paddingRight = '20px';
|
||||
|
|
Loading…
Reference in a new issue