Прозрачным аватаркам добавлена подложка

This commit is contained in:
RoyceDa
2026-02-26 12:19:30 +02:00
parent 88369171b6
commit a431b23476
5 changed files with 5 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ export function Dialog(props : DialogProps) {
<IconBookmark stroke={2} size={20}></IconBookmark>
</Avatar> :
<Box style={{ position: 'relative', display: 'inline-block' }}>
<Avatar src={avatars.length > 0 ? avatars[0].avatar : undefined} variant={isInCurrentDialog ? 'filled' : 'light'} name={userInfo.title} size={50} color={'initials'} />
<Avatar bg={avatars.length > 0 ? '#fff' : undefined} src={avatars.length > 0 ? avatars[0].avatar : undefined} variant={isInCurrentDialog ? 'filled' : 'light'} name={userInfo.title} size={50} color={'initials'} />
{userInfo.online == OnlineState.ONLINE && (
<Box
style={{