fix: 🌠 fix avatar placement issue
This commit is contained in:
parent
bf3775d401
commit
e012e32731
2 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ a:hover, button.logout:hover {
|
|||
.profile h2 {
|
||||
font-size: 1.8rem;
|
||||
font-weight: bold;
|
||||
margin-block-end: 1.2rem;
|
||||
margin-block-end: .6rem;
|
||||
color: var(--orange);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@
|
|||
{% block content %}
|
||||
<div class="grid-content">
|
||||
<aside class="profile">
|
||||
<h2>@{{ profile.username }}</h2>
|
||||
<dl>
|
||||
{% if profile.avatar %}
|
||||
<div class="double">
|
||||
<img src="{{ profile.avatar.url }}" alt="@{{ profile.username }}'s avatar" class="avatar">
|
||||
</div>
|
||||
{% endif %}
|
||||
<h2 class="double">@{{ profile.username }}</h2>
|
||||
<div>
|
||||
<dt>{% trans %}pronouns{% endtrans %}</dt>
|
||||
<dd>{{ profile.pronouns or "not set" }}</dd>
|
||||
|
|
|
|||
Loading…
Reference in a new issue