Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

register: Fix ToS error overlapping with subscribed checkbox text.

Aman Agrawal5046c8a1a23f
diff --git a/templates/zerver/accounts_accept_terms.html b/templates/zerver/accounts_accept_terms.html
index a53bb1517cb..ff227e475f1 100644
--- a/templates/zerver/accounts_accept_terms.html
+++ b/templates/zerver/accounts_accept_terms.html
@@ -55,7 +55,7 @@ the registration flow has its own (nearly identical) copy of the fields below in
</label>
{% if form.terms.errors %}
{% for error in form.terms.errors %}
- <p class="help-inline text-error">{{ error }}</p>
+ <p class="error help-inline alert alert-error">{{ error }}</p>
{% endfor %}
{% endif %}
</div>
diff --git a/templates/zerver/register.html b/templates/zerver/register.html
index a6a338a540b..db52868c7b6 100644
--- a/templates/zerver/register.html
+++ b/templates/zerver/register.html
@@ -236,7 +236,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
</label>
{% if form.terms.errors %}
{% for error in form.terms.errors %}
- <p class="help-inline text-error">{{ error }}</p>
+ <p class="error help-inline alert alert-error">{{ error }}</p>
{% endfor %}
{% endif %}
</div>
diff --git a/web/styles/portico/portico_signin.css b/web/styles/portico/portico_signin.css
index 5327576d73e..e3990ecadfc 100644
--- a/web/styles/portico/portico_signin.css
+++ b/web/styles/portico/portico_signin.css
@@ -373,17 +373,6 @@ html {
width: 330px;
margin: 0 auto 10px;
}
-
- .terms-of-service .text-error {
- position: relative;
- display: block;
- top: -5px;
- padding: 0;
- height: 0;
-
- font-size: 0.7em;
- font-weight: 600;
- }
}
.account-creation {