1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-14 02:08:50 +02:00

remove text button

This commit is contained in:
Kyle Spearrin 2018-07-10 08:20:22 -04:00
parent 1cb396dc51
commit a6bd9ecfa3
2 changed files with 10 additions and 5 deletions

View File

@ -38,11 +38,11 @@
<span *ngIf="u.type === organizationUserType.Admin">{{'admin' | i18n}}</span> <span *ngIf="u.type === organizationUserType.Admin">{{'admin' | i18n}}</span>
<span *ngIf="u.type === organizationUserType.User">{{'user' | i18n}}</span> <span *ngIf="u.type === organizationUserType.User">{{'user' | i18n}}</span>
</td> </td>
<td class="table-list-options"> <td class="table-list-options wider">
<button type="button" class="btn btn-outline-danger" (click)="remove(u)" #removeBtn appBlurClick [disabled]="removeBtn.loading" <button type="button" class="btn btn-sm btn-outline-danger btn-submit" (click)="remove(u)" #removeBtn appBlurClick [disabled]="removeBtn.loading"
[appApiAction]="actionPromise" title="{{'remove' | i18n}}" *ngIf="!u.accessAll"> [appApiAction]="actionPromise" *ngIf="!u.accessAll">
<i class="fa fa-remove fa-lg fa-fw" [hidden]="removeBtn.loading"></i> <i class="fa fa-spinner fa-spin"></i>
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!removeBtn.loading"></i> <span>{{'remove' | i18n}}</span>
</button> </button>
</td> </td>
</tr> </tr>

View File

@ -301,6 +301,11 @@ label:not(.form-check-label):not(.btn) {
max-width: 76px; max-width: 76px;
text-align: right; text-align: right;
&.wider {
width: 100px;
max-width: 100px;
}
.btn { .btn {
line-height: 1; line-height: 1;
} }