Insert the bitstream access status badge before the element and increase margins

This commit is contained in:
Nicolas Boulay
2025-03-10 12:15:39 -04:00
parent d72bc0d1bb
commit 61576e94d0

View File

@@ -1,4 +1,5 @@
<a [routerLink]="(bitstreamPath$| async)?.routerLink" class="dont-break-out"
<ds-embargo-badge [bitstream]="bitstream"></ds-embargo-badge>
<a [routerLink]="(bitstreamPath$| async)?.routerLink" class="d-block dont-break-out mb-1"
[queryParams]="(bitstreamPath$| async)?.queryParams"
[target]="isBlank ? '_blank': '_self'"
[ngClass]="cssClasses"
@@ -8,7 +9,6 @@
}
<ng-container *ngTemplateOutlet="content"></ng-container>
</a>
<ds-embargo-badge [bitstream]="bitstream"></ds-embargo-badge>
<ng-template #content>
<ng-content></ng-content>