Compare commits

..

4 Commits

Author SHA1 Message Date
Ginger 10f1838ded fix: Horizontally scroll overflowing pres 2026-07-08 15:11:22 -04:00
Ginger 44045249fa fix: Explicitly constrain avatar size 2026-07-08 15:07:15 -04:00
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
8 changed files with 23 additions and 13 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ repos:
- id: check-added-large-files
- repo: https://github.com/crate-ci/typos
rev: v1.48.0
rev: v1.47.2
hooks:
- id: typos
- id: typos
+10 -5
View File
@@ -175,6 +175,7 @@ pre {
background-color: oklch(from var(--panel-bg) calc(l - 0.05) c h);
border-radius: var(--border-radius-sm);
padding: 8px;
overflow-x: scroll;
}
input, button, a.button {
@@ -214,11 +215,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 +222,11 @@ button, a.button {
&:not(:disabled) {
transition: linear color, background-color 0.1s;
&:hover {
opacity: 0.8;
cursor: pointer;
}
}
&:visited {
@@ -341,6 +342,10 @@ ul.bullet-separated {
margin-top: 0;
}
.error-body {
width: 100%;
}
.mobile-hidden {
display: none;
}
+2 -2
View File
@@ -2,8 +2,8 @@
--avatar-size: 56px;
display: inline-block;
aspect-ratio: 1 / 1;
inline-size: var(--avatar-size);
width: var(--avatar-size);
height: var(--avatar-size);
border-radius: 50%;
text-align: center;
+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 -%}