Skip to content

A platform for community discussion. Free, open, simple.

UX: Eliminate double modal scroll on long mobile create account forms

Kris90e701b4700b
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;