LP#1816475: offset the start time after end time alert
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 18 Oct 2019 15:56:54 +0000 (11:56 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 21 Oct 2019 19:43:24 +0000 (15:43 -0400)
Move the alert over to align with the date inputs for a slightly
tidier appearance.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/booking/create-reservation-dialog.component.html

index f5beb36..f2fa021 100644 (file)
@@ -34,7 +34,7 @@
         formControlName="endTime"
         [timezone]="timezone">
       </eg-datetime-select>
-      <div role="alert" class="alert alert-danger" *ngIf="create.errors && create.errors.startTimeNotBeforeEndTime">
+      <div role="alert" class="alert alert-danger offset-lg-4" *ngIf="create.errors && create.errors.startTimeNotBeforeEndTime">
         <span class="material-icons" aria-hidden="true">error</span>
         <span i18n>Start time must be before end time</span>
       </div>