MOBILE-2812 ux: Imrpove module icons sizes

main
Pau Ferrer Ocaña 2019-01-28 11:10:33 +01:00
parent dce99f3f34
commit d2fc0ed420
2 changed files with 4 additions and 2 deletions

View File

@ -134,6 +134,8 @@ ion-app.app-root {
.core-module-icon {
width: auto;
max-width: 24px;
max-height: 24px;
}
.core-button-spinner {

View File

@ -13,13 +13,13 @@
<ion-list *ngIf="grade">
<a ion-item *ngIf="grade.itemname && grade.link" text-wrap detail-push [href]="grade.link" core-link capture="true">
<ion-icon *ngIf="grade.icon" name="{{grade.icon}}" item-start></ion-icon>
<img *ngIf="grade.image" [src]="grade.image" item-start/>
<img *ngIf="grade.image" [src]="grade.image" item-start class="core-module-icon"/>
<h2><core-format-text [text]="grade.itemname"></core-format-text></h2>
</a>
<ion-item *ngIf="grade.itemname && !grade.link" text-wrap >
<ion-icon *ngIf="grade.icon" name="{{grade.icon}}" item-start></ion-icon>
<img *ngIf="grade.image" [src]="grade.image" item-start/>
<img *ngIf="grade.image" [src]="grade.image" item-start class="core-module-icon"/>
<h2><core-format-text [text]="grade.itemname"></core-format-text></h2>
</ion-item>