feat: enhance checkout page layout for better responsiveness and adjust cart actions for mobile
This commit is contained in:
@@ -22,4 +22,5 @@
|
||||
flex: 1 1 290px;
|
||||
max-width: 290px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -6,6 +6,15 @@
|
||||
|
||||
@media (max-width: 900px) {
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
.checkout-page__cart-col {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.checkout-page__stepper-col,
|
||||
.checkout-page__editing-notice {
|
||||
order: 2;
|
||||
}
|
||||
}
|
||||
|
||||
&__stepper-col {
|
||||
|
||||
@@ -110,6 +110,7 @@
|
||||
|
||||
.payment-panel {
|
||||
min-width: 0;
|
||||
|
||||
&__card {
|
||||
width: 100%;
|
||||
max-width: 320px;
|
||||
|
||||
@@ -87,3 +87,13 @@
|
||||
display: flex;
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user