Skip to content

Commit

Permalink
PM-10374 remove margin from collection in item details if no folder (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jingo88 authored Aug 29, 2024
1 parent 2d753f2 commit c1870a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ <h2 bitTypography="h6">{{ "itemDetails" | i18n }}</h2>
*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
Expand Down

0 comments on commit c1870a3

Please sign in to comment.