fix: Minor CSS and layout tweaks

This commit is contained in:
Ginger authored and Ellis Git committed 2026-07-09 18:11:26 +00:00
1 parent 021dfc2424
commit 8714fa2ea7
6 files changed
+15 -10

No files matched your search

+5 -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 {
+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 -%}