[PM-12996] Updating UI Spacing for bit section header (#11609)

* Adding space to the section header

* Updating spacing to the left of the bit section header
This commit is contained in:
cd-bitwarden 2024-10-23 11:39:57 -04:00 committed by GitHub
parent c4fcd53ad2
commit 79d7d506df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 14 deletions

View File

@ -1,18 +1,20 @@
<bit-section *ngIf="ciphers?.length > 0 || description" [disableMargin]="disableSectionMargin"> <bit-section *ngIf="ciphers?.length > 0 || description" [disableMargin]="disableSectionMargin">
<bit-section-header> <div class="tw-ml-1">
<h2 bitTypography="h6"> <bit-section-header>
{{ title }} <h2 bitTypography="h6">
</h2> {{ title }}
<button </h2>
*ngIf="showRefresh" <button
bitIconButton="bwi-refresh" *ngIf="showRefresh"
type="button" bitIconButton="bwi-refresh"
size="small" type="button"
(click)="onRefresh.emit()" size="small"
[appA11yTitle]="'refresh' | i18n" (click)="onRefresh.emit()"
></button> [appA11yTitle]="'refresh' | i18n"
<span bitTypography="body2" slot="end">{{ ciphers.length }}</span> ></button>
</bit-section-header> <span bitTypography="body2" slot="end">{{ ciphers.length }}</span>
</bit-section-header>
</div>
<div *ngIf="description" class="tw-text-muted tw-px-1 tw-mb-2" bitTypography="body2"> <div *ngIf="description" class="tw-text-muted tw-px-1 tw-mb-2" bitTypography="body2">
{{ description }} {{ description }}
</div> </div>