Skip to content

Commit e79aac7

Browse files
committed
Fix ordering cols in resource template
1 parent 48081fe commit e79aac7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/resource/resource.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1 class="badge text-bg-warning rounded-pill badge-pill">Loading...</h1>
1313
</app-description>
1414
</div>
1515

16-
<div id="incoming" *ngIf="!loading && incomings && incomings.length" class="col-md-3 order-md-12 m-0 small">
16+
<div id="incoming" *ngIf="!loading && incomings && incomings.length" class="col-md-3 order-md-last m-0 small">
1717
<h5 class="p-1">{{ 'search.facets' | translate }} <span class="badge text-bg-warning rounded-pill badge-pill">{{incomings.length}}</span>
1818
<span class="d-block d-md-none d-lg-none d-xl-none float-end">
1919
<a *ngIf="!showFacets" (click)="showFacets = true"><span class="fa fa-plus-circle"></span></a>
@@ -28,7 +28,7 @@ <h5 class="p-1">{{ 'search.facets' | translate }} <span class="badge text-bg-war
2828
</div>
2929

3030
<div id="localcontent" *ngIf="!loading && (resource.anonBody || content)" class="col-md-6 m-0"
31-
[ngClass]="{'col-md-6 order-md-6 m-0': incomings.length,
31+
[ngClass]="{'col-md-6 order-md-3 m-0': incomings.length,
3232
'col-md-8 m-0': !incomings.length}">
3333
<div *ngIf="resource.anonBody" [innerHTML]="resource.anonBody.values[0].value"></div>
3434
<div *ngIf="content" [innerHTML]="content"></div>

0 commit comments

Comments
 (0)