Skip to content

Commit 0017470

Browse files
lakshmisravya123lakshmisravya123
authored andcommitted
fix: align action buttons in empty bundles on Bitstreams tab (DSpace#5115)
The bundle row's action column was missing the column size class that the header and bitstream rows use. Without it, the action buttons don't align vertically when a bundle has no bitstreams. Add columnSizes.columns[3].buildClasses() to the bundle-row action td, matching the pattern used in the header th and bitstream-row td elements.
1 parent bca7828 commit 0017470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/item-page/edit-item-page/item-bitstreams/item-edit-bitstream-bundle/item-edit-bitstream-bundle.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<th id="{{ bundleName }}" class="row-element" colspan="3" scope="colgroup">
3535
{{'item.edit.bitstreams.bundle.name' | translate:{ name: bundleName } }}
3636
</th>
37-
<td class="text-center row-element">
37+
<td class="text-center row-element {{ columnSizes.columns[3].buildClasses() }}">
3838
<div class="btn-group">
3939
<button [routerLink]="[itemPageRoute, 'bitstreams', 'new']"
4040
[queryParams]="{bundle: bundle.id}"

0 commit comments

Comments
 (0)