Default WhoList icons for guest users

This commit is contained in:
Noah 2023-02-06 15:38:14 -08:00
parent 19d576783d
commit ca0ad66006
2 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,6 @@ body {
.chat-container > .chat-column {
grid-column: 2;
grid-row: 2;
background-color: yellow;
overflow: hidden;
}

View File

@ -481,11 +481,12 @@
<li v-for="(u, i) in whoList" v-bind:key="i">
<div class="columns is-mobile">
<!-- Avatar URL if available -->
<div class="column is-narrow pr-0"
v-if="u.avatar">
<img :src="avatarURL(u)"
<div class="column is-narrow pr-0">
<img v-if="u.avatar" :src="avatarURL(u)"
width="24" height="24"
:alt="'Avatar image for ' + u.username">
<img v-else src="/static/img/shy.png"
width="24" height="24">
</div>
<div class="column pr-0"
:class="{'pl-1': u.avatar}">