1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 05:43:41 +00:00

[CL-604] Add ngPreserveWhitespace to fix badge padding (#13626)

This commit is contained in:
Oscar Hinton
2025-02-28 20:02:03 +01:00
committed by GitHub
parent f12456bd3e
commit 37cf88d041

View File

@@ -12,7 +12,7 @@
<bit-table *ngIf="!loading"> <bit-table *ngIf="!loading">
<ng-template body> <ng-template body>
<tr bitRow *ngFor="let p of policies"> <tr bitRow *ngFor="let p of policies">
<td bitCell *ngIf="p.display(organization)"> <td bitCell *ngIf="p.display(organization)" ngPreserveWhitespaces>
<button type="button" bitLink (click)="edit(p)">{{ p.name | i18n }}</button> <button type="button" bitLink (click)="edit(p)">{{ p.name | i18n }}</button>
<span bitBadge variant="success" *ngIf="policiesEnabledMap.get(p.type)">{{ <span bitBadge variant="success" *ngIf="policiesEnabledMap.get(p.type)">{{
"on" | i18n "on" | i18n