[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

@ -295,4 +295,8 @@ input.larger {
.create-notice button[type=submit]:hover {
border-radius: var(--unit-size);
box-shadow: 0 0px 8px var(--accent);
}
}
.avatar {
border-radius: 50%;
}

View File

@ -320,4 +320,8 @@ input.larger {
.create-notice button[type=submit]:hover {
border-radius: var(--small-size);
box-shadow: 0 0px 8px var(--accent);
}
}
.avatar {
border-radius: 50%;
}

View File

@ -320,4 +320,8 @@ input.larger {
.create-notice button[type=submit]:hover {
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() %}