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
1 changed files with 2 additions and 2 deletions

View File

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