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

This commit is contained in:
RoyceDa
2026-02-26 12:40:19 +02:00
parent 84d3cc7be4
commit b9603462a0
2 changed files with 2 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ export function MentionRow(props : MentionRowProps) {
name={props.title} name={props.title}
variant="light" variant="light"
color="initials" color="initials"
bg={avatars.length > 0 ? '#fff' : undefined}
src={avatars.length > 0 ? avatars[0].avatar : null} src={avatars.length > 0 ? avatars[0].avatar : null}
></Avatar>} ></Avatar>}
<Flex direction={'column'}> <Flex direction={'column'}>

View File

@@ -40,6 +40,7 @@ export function UserRow(props: UserRowProps) {
radius="xl" radius="xl"
name={userInfo.title} name={userInfo.title}
color={'initials'} color={'initials'}
bg={avatars.length > 0 ? '#fff' : undefined}
src={avatars.length > 0 ? avatars[0].avatar : undefined} src={avatars.length > 0 ? avatars[0].avatar : undefined}
/> />
<Flex direction={'column'}> <Flex direction={'column'}>