Compare commits

...

2 Commits

Author SHA1 Message Date
Ginger ee75232454 fix: Minor CSS and layout tweaks 2026-07-07 13:56:44 -04:00
Ginger 9962946082 fix: Fix error page on small screens 2026-07-07 13:31:11 -04:00
6 changed files with 19 additions and 10 deletions
+9 -5
View File
@@ -214,11 +214,6 @@ button, a.button {
text-align: center;
margin: 0.5rem 0;
&:enabled:hover {
opacity: 0.8;
cursor: pointer;
}
&:disabled {
color: lightgray;
background-color: gray;
@@ -226,6 +221,11 @@ button, a.button {
&:not(:disabled) {
transition: linear color, background-color 0.1s;
&:hover {
opacity: 0.8;
cursor: pointer;
}
}
&:visited {
@@ -341,6 +341,10 @@ ul.bullet-separated {
margin-top: 0;
}
.error-body {
width: 100%;
}
.mobile-hidden {
display: none;
}
+1 -1
View File
@@ -25,7 +25,7 @@ Your account
Your account has no associated email address.
{% endif %}
{% if email_requirement.may_change() %}
<a href="email/change/">Change your email</a>\
<a href="email/change/">Change your email</a>
{% endif %}
</p>
{% endif %}
@@ -20,7 +20,7 @@ Change your password
</div>
{% when ChangePasswordBody::Success %}
<p>
Your password has been changed successfully. <a href="{{ crate::ROUTE_PREFIX }}/account/">Back</a>
Your password has been changed successfully.
</p>
{% endmatch %}
</div>
+1
View File
@@ -37,6 +37,7 @@
{% endif %}
<pre style="white-space: pre-wrap"><code>{{ error }}</code></pre>
<a href="{{ crate::ROUTE_PREFIX }}/account/">Back to account settings</a>
</div>
</div>
+6 -3
View File
@@ -44,6 +44,9 @@ Log in
</p>
<button type="submit">Log in</button>
</form>
{% if let Some(error) = login_error %}
<small class="error">{{ error }}</small>
{% endif %}
<div class="centered-links">
{% if registration_available %}
{% let query = next.as_ref().map(serde_urlencoded::to_string).transpose().unwrap().unwrap_or_default() %}
@@ -67,6 +70,9 @@ Log in
</p>
<button type="submit">Continue</button>
</form>
{% if let Some(error) = login_error %}
<small class="error">{{ error }}</small>
{% endif %}
<div class="centered-links">
<a href="{{ crate::ROUTE_PREFIX }}/account/password/reset/">Forgot your password?</a>
</div>
@@ -74,8 +80,5 @@ Log in
<a class="button" href="{{ redirect_url }}">Continue</a>
{% endmatch %}
{% endmatch %}
{% if let Some(error) = login_error %}
<small class="error">{{ error }}</small>
{% endif %}
</div>
{%- endblock -%}
@@ -27,6 +27,7 @@ Reset your password
<p>
To reset your password, contact your homeserver's administrator.
</p>
<a href="{{ crate::ROUTE_PREFIX }}/account/">Back to account settings</a>
{% endmatch %}
</div>
{%- endblock -%}