MOBILE-2741 style: Style icons coming from web
parent
bb3a525a5b
commit
03d4958f9c
|
@ -376,6 +376,17 @@ ion-app.app-root {
|
|||
}
|
||||
|
||||
@include core-headings();
|
||||
|
||||
img.icon {
|
||||
font-size: 16px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-webkit-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.item core-format-text {
|
||||
|
|
|
@ -382,7 +382,7 @@ export class CoreFormatTextDirective implements OnChanges {
|
|||
images.forEach((img: HTMLElement) => {
|
||||
this.addMediaAdaptClass(img);
|
||||
this.addExternalContent(img);
|
||||
if (this.utils.isTrueOrOne(this.adaptImg)) {
|
||||
if (this.utils.isTrueOrOne(this.adaptImg) && !img.classList.contains('icon')) {
|
||||
this.adaptImage(elWidth, img);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue