MOBILE-2567 ux: Add padding to delete icons

main
Pau Ferrer Ocaña 2018-09-10 12:59:11 +02:00
parent 799f2b7478
commit 3d08537081
2 changed files with 3 additions and 2 deletions

View File

@ -406,7 +406,8 @@ ion-app.app-root {
.item .item-button[icon-only] {
height: 2.8em;
font-size: 1.6rem;
padding: 0 3px;
padding: 8px 11px;
margin: 0;
}
// Ionic fix. Button can occupy all page if not.

View File

@ -12,7 +12,7 @@
<ion-input type="text" name="filename" [placeholder]="'core.filename' | translate" autocapitalize="none" autocorrect="off" (click)="$event.stopPropagation()" [core-auto-focus] [(ngModel)]="newFileName" *ngIf="editMode"></ion-input>
<div class="buttons" item-end *ngIf="manage">
<button *ngIf="!editMode" ion-button icon-only clear (click)="activateEdit($event)" [attr.aria-label]="'core.edit' | translate" color="dark">
<button *ngIf="!editMode" ion-button icon-only clear [core-suppress-events] (onClick)="activateEdit($event)" [attr.aria-label]="'core.edit' | translate" color="dark">
<ion-icon name="create" ios="md-create"></ion-icon>
</button>