Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
mobile ui improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Jun 15, 2019
1 parent 7a527ef commit b584dc1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/event-display/event-display.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ <h2 translate="show-event.donations"></h2>
<app-recaptcha [apiKey]="event.captchaConfiguration.recaptchaApiKey" (recaptchaResponse)="handleRecaptchaResponse($event)" *ngIf="event.captchaConfiguration.captchaForTicketSelection && event.captchaConfiguration.recaptchaApiKey"></app-recaptcha>

<hr>
<div class="row d-flex justify-content-between">
<div class="row d-flex justify-content-between mobile-add-margin-bottom">
<div class="col-md-5 order-1 col-12"><button type="submit" class="block-button btn btn-success" translate="show-event.continue"></button></div>
<div class="col-md-5 order-0 col-12 "><a [href]="event.websiteUrl" class="block-button btn btn-outline-dark" translate="to-event-site"></a></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/reservation/booking/booking.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h3>

<p><strong>*</strong>{{' '}}<span translate="common.required-fields"></span></p>

<div class="row d-flex justify-content-between">
<div class="row d-flex justify-content-between mobile-add-margin-bottom">
<div class="col-md-5 order-1 col-12">
<button type="submit" class="block-button btn btn-success" translate="reservation-page.continue" [disabled]="expired"></button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/reservation/overview/overview.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h4 class="wMarginTop" [ngSwitch]="getSinglePaymentMethod(event)">
<strong ><span translate="reservation.payment-in-progress"></span><span class="dots"><span>.</span><span>.</span><span>.</span></span></strong>
</div>

<div class="row d-flex justify-content-between" *ngIf="!submitting">
<div class="row d-flex justify-content-between mobile-add-margin-bottom" *ngIf="!submitting">
<div class="col-md-5 order-1 col-12">
<button *ngIf="reservationInfo.orderSummary.free" type="submit" class="block-button btn btn-success" translate="reservation-page.continue" [disabled]="expired"></button>
<button *ngIf="!reservationInfo.orderSummary.free" type="submit" class="block-button btn btn-success" [disabled]="expired || !selectedPaymentProvider">
Expand Down
14 changes: 12 additions & 2 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ body {
transform: rotate(-45deg);
}

label.col-form-label {
text-align: right;
@media (min-width: 576px) {
label.col-form-label {
text-align: right;
}
}

.list-group-item {
Expand Down Expand Up @@ -142,4 +144,12 @@ label.radio-inline {
font-size: .875rem;
line-height: .5;
border-radius: .2rem;
}

@media (max-width: 767px) {
.mobile-add-margin-bottom button.btn,
.mobile-add-margin-bottom a.btn
{
margin-bottom: 1rem;
}
}

0 comments on commit b584dc1

Please sign in to comment.