Skip to content

Commit d470797

Browse files
authored
Merge pull request #2083 from bcgov/feature/ALCS-2226-QA-1
Align revert button to right like edit button
2 parents d78553a + 95aac2e commit d470797

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

alcs-frontend/src/app/features/application/decision/decision-v2/decision-v2.component.html

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ <h5>Res #{{ decision.resolutionNumber }}/{{ decision.resolutionYear }}</h5>
104104
</ng-container>
105105

106106
<div
107+
class="revert-to-draft-button"
107108
*ngIf="!decision.isDraft"
108109
[matTooltip]="decision.disabledMessage"
109110
[matTooltipDisabled]="!isPaused && !isDraftExists && !decision.hasDuplicateComponents"

alcs-frontend/src/app/features/application/decision/decision-v2/decision-v2.component.scss

+6-1
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,16 @@ hr {
8383
}
8484
}
8585

86-
.edit-decision-button {
86+
.edit-decision-button,
87+
.revert-to-draft-button {
8788
grid-row: 1/2;
8889
grid-column: 3/4;
8990
}
9091

92+
.revert-to-draft-button {
93+
text-align: right;
94+
}
95+
9196
.loading-overlay {
9297
position: absolute;
9398
z-index: 2;

0 commit comments

Comments
 (0)