Skip to content

Commit e06b67f

Browse files
rootroot
authored andcommitted
Resolution of issue DSpace#1190 - Improving the accessibility of the status page using the item-operation component
1 parent a623976 commit e06b67f

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

src/app/item-page/edit-item-page/item-operation/item-operation.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<div class="col-3 float-left d-flex h-100 action-label">
1+
<div class="col-12 col-md-3 column-height float-left d-flex h-100 action-label">
22
<span class="justify-content-center align-self-center">
33
{{'item.edit.tabs.status.buttons.' + operation.operationKey + '.label' | translate}}
44
</span>
55
</div>
6-
<div class="col-9 float-left action-button">
6+
<div class="col-12 col-md-9 float-left action-button">
77
<span *ngIf="operation.authorized">
88
<button class="btn btn-outline-primary" [disabled]="operation.disabled" [routerLink]="operation.operationUrl" [attr.aria-label]="'item.edit.tabs.status.buttons.' + operation.operationKey + '.button' | translate">
99
{{'item.edit.tabs.status.buttons.' + operation.operationKey + '.button' | translate}}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.column-height {
2+
height: 100%;
3+
}
4+
5+
@media screen and (max-width: map-get($grid-breakpoints, sm)) {
6+
.column-height {
7+
height: auto;
8+
}
9+
}

src/app/item-page/edit-item-page/item-operation/item-operation.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { ItemOperation } from './itemOperation.model';
1111

1212
@Component({
1313
selector: 'ds-item-operation',
14+
styleUrls: ['item-operation.component.scss'],
1415
templateUrl: './item-operation.component.html',
1516
imports: [
1617
TranslateModule,

0 commit comments

Comments
 (0)