[AVATAR] Display avatar rounded

This commit is contained in:
Hugo Sales 2021-04-19 10:50:33 +00:00
parent 3afa872cec
commit a66118aee7
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
4 changed files with 16 additions and 4 deletions

View File

@ -296,3 +296,7 @@ input.larger {
border-radius: var(--unit-size);
box-shadow: 0 0px 8px var(--accent);
}
.avatar {
border-radius: 50%;
}

View File

@ -321,3 +321,7 @@ input.larger {
border-radius: var(--small-size);
box-shadow: 0 0px 8px var(--accent);
}
.avatar {
border-radius: 50%;
}

View File

@ -321,3 +321,7 @@ input.larger {
border-radius: var(--small-size);
box-shadow: 0 0px 8px var(--accent);
}
.avatar {
border-radius: 50%;
}

View File

@ -2,7 +2,7 @@
<div class="note-info">
{% set nickname = note.getActorNickname() %}
<a href="{{ path('settings_avatar') }}">
<img src="{{ note.getAvatarUrl() }}" alt="{{ nickname }}'s avatar">
<img class="avatar" src="{{ note.getAvatarUrl() }}" alt="{{ nickname }}'s avatar">
</a>
<b>{{ nickname }}</b>
{% set reply_to = note.getReplyToNickname() %}