mirror of https://github.com/zulip/zulip.git
register: Fix for small widths.
This commit is contained in:
parent
15e837ff25
commit
e1b22a04e7
|
@ -14,7 +14,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
|
||||||
|
|
||||||
{% block portico_content %}
|
{% block portico_content %}
|
||||||
<div class="register-account flex full-page">
|
<div class="register-account flex full-page">
|
||||||
<div class="center-block new-style" style="padding: 20px 0px">
|
<div class="center-block new-style" style="padding: 20px 0px" id="create-account">
|
||||||
|
|
||||||
<div class="pitch">
|
<div class="pitch">
|
||||||
{% if creating_new_realm %}
|
{% if creating_new_realm %}
|
||||||
|
|
|
@ -1340,10 +1340,19 @@ button#register_auth_button_gitlab {
|
||||||
min-height: calc(100vh - 505px);
|
min-height: calc(100vh - 505px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#create-account,
|
||||||
#new-realm-creation {
|
#new-realm-creation {
|
||||||
margin: 0 -30px;
|
margin: 0 -30px;
|
||||||
transform: scale(0.9);
|
transform: scale(0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#create-account {
|
||||||
|
margin: -70px;
|
||||||
|
|
||||||
|
#registration {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (width <= 400px) {
|
@media (width <= 400px) {
|
||||||
|
@ -1351,17 +1360,27 @@ button#register_auth_button_gitlab {
|
||||||
min-height: calc(100vh - 560px);
|
min-height: calc(100vh - 560px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#create-account,
|
||||||
#new-realm-creation {
|
#new-realm-creation {
|
||||||
margin: -10px -40px;
|
margin: -10px -40px;
|
||||||
transform: scale(0.8);
|
transform: scale(0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#create-account {
|
||||||
|
margin: -100px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (width <= 340px) {
|
@media (width <= 340px) {
|
||||||
|
#create-account,
|
||||||
#new-realm-creation {
|
#new-realm-creation {
|
||||||
margin: -40px -60px;
|
margin: -40px -60px;
|
||||||
transform: scale(0.7);
|
transform: scale(0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#create-account {
|
||||||
|
margin: -150px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.account-creation .white-box .user_email {
|
.account-creation .white-box .user_email {
|
||||||
|
|
Loading…
Reference in New Issue