Skip to content

Commit 015673f

Browse files
committed
Moved action buttons to right
1 parent 93f7e17 commit 015673f

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

web-app/admin/src/app/admin/admin-event/event-details/event-details.component.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ <h3 class="action-card-title">Complete Event</h3>
6060
event. The event is not destroyed and can be changed back to an active state at any
6161
time.</p>
6262
<button class="action-button btn-primary" (click)="completeEvent(event)">
63-
<i class="fa fa-check-circle"></i>
64-
Complete
63+
<i class="fa fa-check-circle"></i> Complete
6564
</button>
6665
</div>
6766

@@ -72,8 +71,7 @@ <h3 class="action-card-title">Activate Event</h3>
7271
event on
7372
clients. At that point users can contribute observations and locations to the event.</p>
7473
<button class="action-button btn-primary" (click)="activateEvent(event)">
75-
<i class="fa fa-play-circle"></i>
76-
Activate
74+
<i class="fa fa-play-circle"></i> Activate
7775
</button>
7876
</div>
7977

@@ -85,8 +83,7 @@ <h3 class="danger-zone-title">Delete Event</h3>
8583
observation and location data. This cannot be undone, and all event data will be
8684
unrecoverable.</p>
8785
<button class="action-button btn-danger" (click)="deleteEvent()">
88-
<i class="fa fa-trash-o"></i>
89-
Delete
86+
<i class="fa fa-trash-o"></i> Delete
9087
</button>
9188
</div>
9289
</div>

web-app/admin/src/app/admin/admin-event/event-details/event-details.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
}
148148

149149
.action-button {
150-
align-self: flex-start;
150+
align-self: flex-end;
151151
margin-top: auto;
152152
}
153153
}
@@ -177,7 +177,7 @@
177177
}
178178

179179
.action-button.btn-danger {
180-
align-self: flex-start;
180+
align-self: flex-end;
181181
margin-top: auto;
182182
}
183183
}

0 commit comments

Comments
 (0)