UX: Increase fade on long sign-up form content for more evident scroll
diff --git a/app/assets/stylesheets/desktop/login.scss b/app/assets/stylesheets/desktop/login.scss
index 40b59d5b68..0e2688db34 100644
--- a/app/assets/stylesheets/desktop/login.scss
+++ b/app/assets/stylesheets/desktop/login.scss
@@ -143,21 +143,25 @@
&:before {
content: "";
display: block;
- height: 25px;
position: absolute;
width: 100%;
pointer-events: none;
}
&:after {
bottom: 0;
+ height: 35px;
+ @media screen and (max-height: 650px) {
+ height: 45px;
+ }
background-image: linear-gradient(
to bottom,
rgba($secondary, 0) 0%,
- rgba($secondary, 1) 100%
+ rgba($secondary, 0.9) 100%
);
}
&:before {
top: 0;
+ height: 25px;
background-image: linear-gradient(
to top,
rgba($secondary, 0) 0%,
@@ -167,10 +171,13 @@
form {
box-sizing: border-box;
padding: s(4 6);
- margin-bottom: 5px;
+ margin-bottom: 0;
max-height: 475px;
- @media screen and (max-height: 768px) {
- max-height: calc(60vh - 100px);
+ @media screen and (max-height: 650px) {
+ max-height: calc(65vh - 100px);
+ > *:last-child {
+ margin-bottom: 40px;
+ }
}
overflow-x: hidden;
overflow-y: auto;
@@ -203,6 +210,10 @@
}
}
+ .user-fields {
+ margin-bottom: 20px;
+ }
+
.user-field {
display: flex;
flex-direction: column;
GitHub sha: bbfafc31