From acaa791a37a35672b463521efb7e7904f48b0a3b Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 16 Jul 2017 15:50:15 +0530 Subject: [PATCH] Fixed MM/YY and CVV for mobile view --- hosting/static/hosting/css/landing-page.css | 19 ++++++++++++++++++- hosting/templates/hosting/payment.html | 8 +++++--- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/hosting/static/hosting/css/landing-page.css b/hosting/static/hosting/css/landing-page.css index 54076de3..9f54e22b 100644 --- a/hosting/static/hosting/css/landing-page.css +++ b/hosting/static/hosting/css/landing-page.css @@ -524,7 +524,7 @@ a.unlink:hover { } .brand { float: left; - width: 8%; + width: 10%; } .brand #brand-icon { vertical-align: bottom; @@ -592,6 +592,23 @@ a.unlink:hover { margin-top: 30px; margin-bottom: 30px; } + + .credit-card-element-with-brand { + width: 100%; + float: left; + } + + .brand { + width: 16%; + } + + .card-expiry-element { + width: 40%; + } + + .card-cvc-element { + width: 15%; + } } @media (min-width: 1200px) { diff --git a/hosting/templates/hosting/payment.html b/hosting/templates/hosting/payment.html index a73d09d6..230c0bdf 100644 --- a/hosting/templates/hosting/payment.html +++ b/hosting/templates/hosting/payment.html @@ -155,9 +155,11 @@
-
-
-
+
+
+
+
+