Merge pull request #5751 from deepaksinghgusain227/update-button-alligment

Fixed ui of checkout button shopping continue and update cart
This commit is contained in:
Glenn Hermans 2022-02-04 15:04:56 +01:00 committed by GitHub
commit c1dceb0a01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 12 deletions

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
"/js/velocity.js": "/js/velocity.js?id=ac05caeb5e4b0566a4ab",
"/js/manifest.js": "/js/manifest.js?id=3cded37ef514b0fb89b1",
"/js/components.js": "/js/components.js?id=d16d70d3905f32644901",
"/css/velocity.css": "/css/velocity.css?id=1a21fa2c015a3f30dc05",
"/css/velocity.css": "/css/velocity.css?id=bdd623454ea6bb7c22a4",
"/css/velocity-admin.css": "/css/velocity-admin.css?id=b67a82956e53163b5e3f",
"/images/icon-calendar.svg": "/images/icon-calendar.svg?id=870d0f733a5837742276",
"/images/icon-camera.svg": "/images/icon-camera.svg?id=b2fd2f9e17e1ccee96e2",

View File

@ -742,6 +742,11 @@
}
}
}
.misc {
display: flex;
justify-content: space-between;
}
}
.continue-shopping-btn {
@ -761,6 +766,21 @@
}
}
@media only screen and (max-width: 375px) {
.cart-details {
.cart-content {
.misc {
flex-direction: column;
button {
margin-top: 10px;
}
}
}
}
}
.account-content {
ol.breadcrumb {
margin: 0 0 2 0;

View File

@ -245,18 +245,21 @@
</div>
{!! view_render_event('bagisto.shop.checkout.cart.controls.after', ['cart' => $cart]) !!}
<a
class="col-12 link-color remove-decoration fs16 no-padding"
href="{{ route('shop.home.index') }}">
{{ __('shop::app.checkout.cart.continue-shopping') }}
</a>
<div class="misc">
<a
class="theme-btn light fs16 text-center"
href="{{ route('shop.home.index') }}">
{{ __('shop::app.checkout.cart.continue-shopping') }}
</a>
<button
type="submit"
class="theme-btn light mr15 float-right unset">
<button
type="submit"
class="theme-btn light unset">
{{ __('shop::app.checkout.cart.update-cart') }}
</button>
{{ __('shop::app.checkout.cart.update-cart') }}
</button>
</div>
{!! view_render_event('bagisto.shop.checkout.cart.controls.after', ['cart' => $cart]) !!}
</form>
</div>