feat: enhance checkout page layout for better responsiveness and adjust cart actions for mobile
This commit is contained in:
parent
2b3e054ccf
commit
4b98df4058
|
|
@ -22,4 +22,5 @@
|
||||||
flex: 1 1 290px;
|
flex: 1 1 290px;
|
||||||
max-width: 290px;
|
max-width: 290px;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,15 @@
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
|
|
||||||
|
.checkout-page__cart-col {
|
||||||
|
order: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkout-page__stepper-col,
|
||||||
|
.checkout-page__editing-notice {
|
||||||
|
order: 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__stepper-col {
|
&__stepper-col {
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,7 @@
|
||||||
|
|
||||||
.payment-panel {
|
.payment-panel {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
|
||||||
&__card {
|
&__card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 320px;
|
max-width: 320px;
|
||||||
|
|
|
||||||
|
|
@ -87,3 +87,13 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767.98px) {
|
||||||
|
.cart-actions {
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
::ng-deep app-button {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -75,3 +75,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767.98px) {
|
||||||
|
.product-column-with-image {
|
||||||
|
border-color: var(--color-primary, var(--tenant-primary, #009933));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue