1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00

PM-10374 remove margin from collection in item details if no folder (#10777)

This commit is contained in:
Jason Ng 2024-08-29 17:45:17 -04:00 committed by GitHub
parent 2d753f2778
commit c1870a37c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,12 +47,12 @@
*ngIf="cipher.collectionIds && collections" *ngIf="cipher.collectionIds && collections"
[attr.aria-label]="'collection' | i18n" [attr.aria-label]="'collection' | i18n"
> >
<ul data-testid="collections"> <ul data-testid="collections" [ngClass]="{ 'tw-mb-0': !cipher.folderId }">
<li <li
*ngFor="let collection of collections; let last = last" *ngFor="let collection of collections; let last = last"
class="tw-flex tw-items-center tw-list-none" class="tw-flex tw-items-center tw-list-none"
bitTypography="body2" bitTypography="body2"
[ngClass]="{ 'tw-mb-3': last }" [ngClass]="{ 'tw-mb-3': last && cipher.folderId }"
[attr.aria-label]="collection.name" [attr.aria-label]="collection.name"
> >
<i <i