Undo codicon change to fix modelview images (#8201)

This commit is contained in:
Charles Gagnon
2019-11-11 08:28:48 -08:00
committed by GitHub
parent e2ef1f8a89
commit 8b17b77010
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ export default class ImageComponent extends ComponentWithIconBase implements ICo
if (this.iconPath) {
if (!this._iconClass) {
super.updateIcon();
DOM.addClasses(this.imageContainer.nativeElement, this._iconClass, 'codicon');
DOM.addClasses(this.imageContainer.nativeElement, this._iconClass, 'icon');
} else {
super.updateIcon();
}

View File

@@ -3,7 +3,7 @@
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
modelview-image div.codicon {
modelview-image div.icon {
background-repeat: no-repeat;
background-position: center;
background-size: contain;