Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
fix: prevent checkout button from being hidden by viewport height issues (#1009)
nitin10c7a64c8a16ad
diff --git a/frontend/src/components/layouts/Checkout/Checkout.module.scss b/frontend/src/components/layouts/Checkout/Checkout.module.scssindex 7eb0c82f5..1fcb08765 100644--- a/frontend/src/components/layouts/Checkout/Checkout.module.scss+++ b/frontend/src/components/layouts/Checkout/Checkout.module.scss@@ -5,7 +5,10 @@ $font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sa.container {display: flex;+ // Use dvh (dynamic viewport height) with fallback for older browsers+ // This fixes iOS Safari where 100vh includes the address bar heightmin-height: 100vh;+ min-height: 100dvh;font-family: $font-body;// CSS variables are set by CheckoutThemeProvider via MantineProvider cssVariablesResolverdiff --git a/frontend/src/components/layouts/Checkout/CheckoutContent/CheckoutContent.module.scss b/frontend/src/components/layouts/Checkout/CheckoutContent/CheckoutContent.module.scssindex 9bde324e6..bc69d7553 100644--- a/frontend/src/components/layouts/Checkout/CheckoutContent/CheckoutContent.module.scss+++ b/frontend/src/components/layouts/Checkout/CheckoutContent/CheckoutContent.module.scss@@ -2,15 +2,22 @@.main {position: relative;+ // Use dvh (dynamic viewport height) with fallback for older browsers+ // This fixes iOS Safari where 100vh includes the address bar height,+ // causing content (like the Complete Order button) to be cut offmin-height: calc(100vh - 60px);+ min-height: calc(100dvh - 60px);height: auto;overflow-y: auto;padding: 20px 60px 40px;+ // Ensure content is visible above iOS safe area+ padding-bottom: max(40px, env(safe-area-inset-bottom, 40px));@include mixins.scrollbar();@include mixins.respond-below(md) {padding: 20px 20px 40px;+ padding-bottom: max(40px, env(safe-area-inset-bottom, 40px));}.innerContainer {