[AVATAR] Display avatar rounded
This commit is contained in:
parent
3afa872cec
commit
a66118aee7
@ -296,3 +296,7 @@ input.larger {
|
|||||||
border-radius: var(--unit-size);
|
border-radius: var(--unit-size);
|
||||||
box-shadow: 0 0px 8px var(--accent);
|
box-shadow: 0 0px 8px var(--accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.avatar {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
@ -321,3 +321,7 @@ input.larger {
|
|||||||
border-radius: var(--small-size);
|
border-radius: var(--small-size);
|
||||||
box-shadow: 0 0px 8px var(--accent);
|
box-shadow: 0 0px 8px var(--accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.avatar {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
@ -321,3 +321,7 @@ input.larger {
|
|||||||
border-radius: var(--small-size);
|
border-radius: var(--small-size);
|
||||||
box-shadow: 0 0px 8px var(--accent);
|
box-shadow: 0 0px 8px var(--accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.avatar {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div class="note-info">
|
<div class="note-info">
|
||||||
{% set nickname = note.getActorNickname() %}
|
{% set nickname = note.getActorNickname() %}
|
||||||
<a href="{{ path('settings_avatar') }}">
|
<a href="{{ path('settings_avatar') }}">
|
||||||
<img src="{{ note.getAvatarUrl() }}" alt="{{ nickname }}'s avatar">
|
<img class="avatar" src="{{ note.getAvatarUrl() }}" alt="{{ nickname }}'s avatar">
|
||||||
</a>
|
</a>
|
||||||
<b>{{ nickname }}</b>
|
<b>{{ nickname }}</b>
|
||||||
{% set reply_to = note.getReplyToNickname() %}
|
{% set reply_to = note.getReplyToNickname() %}
|
||||||
|
Loading…
Reference in New Issue
Block a user