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:
parent
2d753f2778
commit
c1870a37c7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user