feat: improve responsiveness of checkout payment panel and help sidebar components

This commit is contained in:
2026-08-06 08:53:23 -03:00
parent 4b98df4058
commit 6b9087262a
5 changed files with 55 additions and 1 deletions

View File

@@ -34,7 +34,7 @@
</div> </div>
</section> </section>
<section class="payment-panel d-flex justify-content-end" aria-live="polite"> <section class="payment-panel" aria-live="polite">
@if (isGeneratingIntent()) { @if (isGeneratingIntent()) {
<div class="payment-panel__card" style="text-align: center; padding: 2rem"> <div class="payment-panel__card" style="text-align: center; padding: 2rem">
<h3 class="payment-panel__title">Cargando información de pago...</h3> <h3 class="payment-panel__title">Cargando información de pago...</h3>

View File

@@ -32,6 +32,11 @@
.payment-methods { .payment-methods {
min-width: 0; min-width: 0;
@media (max-width: 760px) {
width: min(100%, 300px);
justify-self: center;
}
&__title { &__title {
margin: 0 0 1.75rem; margin: 0 0 1.75rem;
color: #8a8a8a; color: #8a8a8a;
@@ -109,8 +114,22 @@
} }
.payment-panel { .payment-panel {
display: flex;
justify-content: flex-end;
min-width: 0; min-width: 0;
> app-checkout-payment-qr,
> app-checkout-payment-transfer,
> app-checkout-payment-telepagos {
display: block;
width: 100%;
max-width: 320px;
}
@media (max-width: 760px) {
justify-content: center;
}
&__card { &__card {
width: 100%; width: 100%;
max-width: 320px; max-width: 320px;

View File

@@ -50,8 +50,13 @@
} }
@media (max-width: 767.98px) { @media (max-width: 767.98px) {
.help-sidebar__title {
text-align: center;
}
.help-sidebar__nav { .help-sidebar__nav {
flex-flow: row wrap; flex-flow: row wrap;
justify-content: center;
gap: 0.75rem 1.25rem; gap: 0.75rem 1.25rem;
} }
} }

View File

@@ -122,6 +122,30 @@
} }
} }
@media (max-width: 767.98px) {
.contact-page__details {
align-items: center;
text-align: center;
}
.contact-page__title {
width: 100%;
}
.contact-page__location {
width: 100%;
}
.contact-page__location-title {
justify-content: center;
}
.contact-page__addresses {
padding-left: 0;
list-style-position: inside;
}
}
@media (max-width: 575.98px) { @media (max-width: 575.98px) {
.contact-page__map::ng-deep .location-map { .contact-page__map::ng-deep .location-map {
min-height: 16rem; min-height: 16rem;

View File

@@ -26,3 +26,9 @@
color: #888888; color: #888888;
font-size: 0.8125rem; font-size: 0.8125rem;
} }
@media (max-width: 767.98px) {
.faq-page__title {
text-align: center;
}
}