Improve alignment of missing avatars

This commit is contained in:
Cohee 2024-03-16 23:01:47 +02:00
parent cc23169374
commit d1a8a4478b
1 changed files with 19 additions and 0 deletions

View File

@ -3046,8 +3046,27 @@ body .ui-widget-content li:hover {
width: 0px;
}
#group_avatar_preview .missing-avatar {
display: inline;
vertical-align: middle;
}
body.big-avatars .group_select .missing-avatar {
display: flex;
justify-content: center;
align-items: center;
}
body.big-avatars .missing-avatar {
width: calc(var(--avatar-base-width)* var(--big-avatar-width-factor));
height: calc(var(--avatar-base-height)* var(--big-avatar-height-factor));
}
.missing-avatar {
font-size: 36px;
width: var(--avatar-base-width);
height: var(--avatar-base-height);
text-align: center;
}
@keyframes ellipsis {