From 90e701b4700b7cf337677ffaa3f9f04a38d32438 Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 21 Feb 2020 16:08:19 -0500 Subject: [PATCH] UX: Eliminate double modal scroll on long mobile create account forms --- app/assets/stylesheets/mobile/login.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/mobile/login.scss b/app/assets/stylesheets/mobile/login.scss index 8a78ae71773..17d0f77ef44 100644 --- a/app/assets/stylesheets/mobile/login.scss +++ b/app/assets/stylesheets/mobile/login.scss @@ -5,7 +5,7 @@ .create-account { &.fixed-modal .modal-inner-container { max-width: 350px; - max-height: 85vh; + max-height: 90vh; } .close { @@ -143,6 +143,14 @@ // styles for the // create account // modal only + +#discourse-modal .create-account .modal-body { + max-height: 60vh !important; + @media screen and (max-height: 575px) { + max-height: 50vh !important; + } +} + .create-account .modal-body { display: flex; flex-direction: column;