mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 14:03:06 +00:00
117803: Add negative top-margin to subsequent tables
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
[bundle]="bundle"
|
||||
[item]="item"
|
||||
[columnSizes]="columnSizes"
|
||||
[hideHeader]="!isFirst"
|
||||
[isFirstTable]="isFirst"
|
||||
(dropObject)="dropBitstream(bundle, $event)">
|
||||
</ds-item-edit-bitstream-bundle>
|
||||
</div>
|
||||
|
@@ -8,9 +8,9 @@
|
||||
[collectionSize]="bitstreamsList.totalElements">
|
||||
<ng-container *ngIf="(updates$ | async) as updates">
|
||||
|
||||
<table class="table"
|
||||
<table class="table" [class.mt-n1]="!isFirstTable"
|
||||
[attr.aria-label]="'item.edit.bitstreams.bundle.table.aria-label' | translate: { bundle: bundleName } ">
|
||||
<thead [class.visually-hidden]="hideHeader">
|
||||
<thead [class.visually-hidden]="!isFirstTable">
|
||||
<tr class="header-row font-weight-bold">
|
||||
<th id="name" scope="col" class="{{ columnSizes.columns[0].buildClasses() }}">
|
||||
{{'item.edit.bitstreams.headers.name' | translate}}
|
||||
|
@@ -99,9 +99,9 @@ export class ItemEditBitstreamBundleComponent implements OnInit {
|
||||
@Input() columnSizes: ResponsiveTableSizes;
|
||||
|
||||
/**
|
||||
* Whether to hide the table headers
|
||||
* Whether this is the first in a series of bundle tables
|
||||
*/
|
||||
@Input() hideHeader = false;
|
||||
@Input() isFirstTable = false;
|
||||
|
||||
/**
|
||||
* Send an event when the user drops an object on the pagination
|
||||
|
Reference in New Issue
Block a user