mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Undo codicon change to fix modelview images (#8201)
This commit is contained in:
@@ -55,7 +55,7 @@ export default class ImageComponent extends ComponentWithIconBase implements ICo
|
|||||||
if (this.iconPath) {
|
if (this.iconPath) {
|
||||||
if (!this._iconClass) {
|
if (!this._iconClass) {
|
||||||
super.updateIcon();
|
super.updateIcon();
|
||||||
DOM.addClasses(this.imageContainer.nativeElement, this._iconClass, 'codicon');
|
DOM.addClasses(this.imageContainer.nativeElement, this._iconClass, 'icon');
|
||||||
} else {
|
} else {
|
||||||
super.updateIcon();
|
super.updateIcon();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
* 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-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
|
|||||||
Reference in New Issue
Block a user