1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

fix UI design (#13346)

This commit is contained in:
Brandon Treston
2025-02-12 13:49:10 -05:00
committed by GitHub
parent 2b099cd8df
commit b2e9548ae1

View File

@@ -3,9 +3,9 @@
*ngIf="{ enabled: accountDeprovisioningEnabled$ | async } as accountDeprovisioning"
>
<ng-container bitDialogTitle>
<h1 *ngIf="accountDeprovisioning.enabled; else nonMemberTitle">{{ bulkMemberTitle }}</h1>
<h3 *ngIf="accountDeprovisioning.enabled; else nonMemberTitle">{{ bulkMemberTitle }}</h3>
<ng-template #nonMemberTitle>
<h1>{{ bulkTitle }}</h1>
<h3>{{ bulkTitle }}</h3>
</ng-template>
</ng-container>
@@ -46,10 +46,7 @@
</ng-template>
<ng-container *ngIf="!done">
<bit-callout type="warning" *ngIf="users.length > 0 && !error && isRevoking">
<p>{{ "revokeUsersWarning" | i18n }}</p>
</bit-callout>
<p *ngIf="users.length > 0 && !error && isRevoking">{{ "revokeUsersWarning" | i18n }}</p>
<bit-table>
<ng-container header>
<tr>
@@ -109,7 +106,13 @@
</ng-container>
</div>
<ng-container bitDialogFooter>
<button type="button" bitButton *ngIf="!done && users.length > 0" [bitAction]="submit">
<button
type="button"
bitButton
*ngIf="!done && users.length > 0"
[bitAction]="submit"
buttonType="primary"
>
{{ accountDeprovisioning.enabled ? bulkMemberTitle : bulkTitle }}
</button>
<button type="button" bitButton buttonType="secondary" bitDialogClose>