[ASSETS][css][sections] rename profile-avatar to avatar

This commit is contained in:
Diogo Peralta Cordeiro 2021-12-27 04:29:08 +00:00
parent 195618801b
commit 2a902d6a7e
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
.profile-info-nickname {
word-break: break-all;
}
.profile-avatar {
.avatar {
max-width: 4rem;
max-height: 4rem;
min-width: var(--xxl);

View File

@ -12,7 +12,7 @@
<section id='profile-{{ actor.id }}' class='profile' title="{{ actor_nickname }}'s {{ 'profile information.' | trans }}">
<a href="{{ actor_uri }}">
<div class="profile-info">
<img src="{{ actor_avatar }}" class="profile-avatar" alt="{% trans %} %actor_nickname%'s avatar. {% endtrans %}" width="{{actor_avatar_dimensions['width']}}" height="{{actor_avatar_dimensions['height']}}">
<img src="{{ actor_avatar }}" class="avatar" alt="{% trans %} %actor_nickname%'s avatar. {% endtrans %}" width="{{actor_avatar_dimensions['width']}}" height="{{actor_avatar_dimensions['height']}}">
<strong class="profile-info-nickname" title="{{ actor_nickname }}{{ '\'s nickname.' | trans }}">{{ actor_nickname }}</strong>
</div>
</a>