diff --git a/src/app/features/store/pages/checkout-page/checkout-data-step.component.scss b/src/app/features/store/pages/checkout-page/checkout-data-step.component.scss index 940ef25..2be87a5 100644 --- a/src/app/features/store/pages/checkout-page/checkout-data-step.component.scss +++ b/src/app/features/store/pages/checkout-page/checkout-data-step.component.scss @@ -9,19 +9,18 @@ } &__actions { - display: grid; - grid-template-columns: 1fr 1fr; + display: flex; + justify-content: flex-end; + flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; - - @media (max-width: 540px) { - grid-template-columns: 1fr; - } } &__action-btn { display: block; width: 100%; + flex: 1 1 253px; + max-width: 253px; } } @@ -46,3 +45,4 @@ color: var(--bs-danger, #dc3545); } } + diff --git a/src/app/features/store/pages/checkout-page/checkout-page.component.html b/src/app/features/store/pages/checkout-page/checkout-page.component.html index f4839b0..a520f96 100644 --- a/src/app/features/store/pages/checkout-page/checkout-page.component.html +++ b/src/app/features/store/pages/checkout-page/checkout-page.component.html @@ -1,6 +1,6 @@
-
+
-
+
@if (isGeneratingIntent()) {

Cargando información de pago...

@@ -133,6 +133,7 @@ type="button" variant="cancel" hostClass="checkout-payment__action-btn" + buttonClass="w-100" (click)="cancelStep.emit()" > Cancelar @@ -141,6 +142,7 @@ @@ -148,3 +150,4 @@
+ diff --git a/src/app/features/store/pages/checkout-page/checkout-payment-step.component.scss b/src/app/features/store/pages/checkout-page/checkout-payment-step.component.scss index 7cfb29e..b1cf829 100644 --- a/src/app/features/store/pages/checkout-page/checkout-payment-step.component.scss +++ b/src/app/features/store/pages/checkout-page/checkout-payment-step.component.scss @@ -14,17 +14,17 @@ } &__actions { - display: grid; - grid-template-columns: 1fr 1fr; + display: flex; + justify-content: flex-end; + flex-wrap: wrap; gap: 1rem; margin-top: 2rem; - - @media (max-width: 540px) { - grid-template-columns: 1fr; - } } &__action-btn { + width: 100%; + flex: 1 1 253px; + max-width: 253px; display: block; } } @@ -110,10 +110,9 @@ .payment-panel { min-width: 0; - &__card { - width: fit-content; - max-width: 100%; + width: 100%; + max-width: 253px; min-height: 269px; padding: 1.5rem 1.75rem; border-radius: 5px; @@ -304,3 +303,4 @@ } } } +