feat: fix member list to use the new default avatar

This commit is contained in:
Twig 2025-07-19 23:46:37 +02:00
parent ed38340249
commit c7ef63d2bd
No known key found for this signature in database
4 changed files with 15 additions and 1 deletions

View file

@ -4,6 +4,7 @@
:src="displayAvatar"
:alt="displayName" />
<DefaultIcon v-else-if="user"
class="display-avatar"
:name="displayName"
:seed="user.uuid"
:alt="displayName" />

View file

@ -38,6 +38,9 @@ if (props.name.length > 3) {
}
.default-icon-text {
/* helps centre the icon, yes, this is NOT perfect */
margin-top: -0.15em;
font-weight: bold;
color: var(--secondary-text-color)

View file

@ -30,4 +30,11 @@ const hidePopup = () => {
.member-item {
position: relative; /* Set the position to relative for absolute positioning of the popup */
}
.member-avatar {
min-height: 2em;
max-height: 2em;
min-width: 2em;
max-width: 2em;
}
</style>

View file

@ -220,7 +220,10 @@ function getDayDifference(date1: Date, date2: Date) {
}
.message-author-avatar {
width: 100%;
min-height: 2em;
max-height: 2em;
min-width: 2em;
max-width: 2em;
}
.left-column {