Skip to content

Commit 056b87d

Browse files
authored
Unify avatar radius (#892)
1 parent 9bbb85b commit 056b87d

28 files changed

Lines changed: 42 additions & 42 deletions

desktop/src/features/agents/ui/AddTeamToChannelDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export function AddTeamToChannelDialog({
178178
>
179179
<ProfileAvatar
180180
avatarUrl={persona.avatarUrl}
181-
className="h-5 w-5 rounded-full text-[9px]"
181+
className="h-5 w-5 text-[9px]"
182182
label={persona.displayName}
183183
/>
184184
<span className="text-xs font-medium">

desktop/src/features/agents/ui/AgentSessionTranscriptList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function MessageItem({
112112
{!isAssistant ? (
113113
<UserAvatar
114114
avatarUrl={authorProfile?.avatarUrl ?? null}
115-
className="mr-2 mt-1 h-5 w-5 shrink-0 rounded-full text-[8px]"
115+
className="mr-2 mt-1 h-5 w-5 shrink-0 text-[8px]"
116116
displayName={authorLabel}
117117
size="xs"
118118
/>

desktop/src/features/agents/ui/PersonaCatalogDetailsSheet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function PersonaCatalogDetailsSheet({
5252
<div className="flex items-start gap-3">
5353
<ProfileAvatar
5454
avatarUrl={persona.avatarUrl}
55-
className="h-12 w-12 rounded-xl text-sm"
55+
className="h-12 w-12 text-sm"
5656
label={persona.displayName}
5757
/>
5858
<div className="min-w-0 flex-1">

desktop/src/features/agents/ui/TeamDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ export function TeamDialog({
422422
/>
423423
<ProfileAvatar
424424
avatarUrl={persona.avatarUrl}
425-
className="h-6 w-6 rounded-full text-[10px]"
425+
className="h-6 w-6 text-[10px]"
426426
label={persona.displayName}
427427
/>
428428
<span className="text-sm">{persona.displayName}</span>

desktop/src/features/agents/ui/TeamsSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export function TeamsSection({
161161
{visible.map((persona) => (
162162
<ProfileAvatar
163163
avatarUrl={persona.avatarUrl}
164-
className="h-6 w-6 rounded-full border-2 border-card text-[10px]"
164+
className="h-6 w-6 border-2 border-card text-[10px]"
165165
key={persona.id}
166166
label={persona.displayName}
167167
/>

desktop/src/features/channels/ui/AddChannelBotPersonasSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function SelectionChipButton({
4949
<ProfileAvatar
5050
avatarUrl={avatarUrl}
5151
className={cn(
52-
"h-6 w-6 rounded-full text-[10px]",
52+
"h-6 w-6 text-[10px]",
5353
selected
5454
? "bg-primary/20 text-primary ring-1 ring-primary/20"
5555
: "bg-background/80 text-muted-foreground ring-1 ring-border/70",
@@ -161,7 +161,7 @@ export function AddChannelBotPersonasSection({
161161
<div className="flex items-center gap-2">
162162
<ProfileAvatar
163163
avatarUrl={persona.avatarUrl}
164-
className="h-7 w-7 rounded-full text-[10px] bg-primary-foreground/20 text-primary-foreground"
164+
className="h-7 w-7 text-[10px] bg-primary-foreground/20 text-primary-foreground"
165165
iconClassName="h-3.5 w-3.5"
166166
label={persona.displayName}
167167
/>

desktop/src/features/channels/ui/AddChannelBotTeamsSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export function AddChannelBotTeamsSection({
158158
>
159159
<ProfileAvatar
160160
avatarUrl={persona.avatarUrl}
161-
className="h-4 w-4 rounded-full text-[8px] bg-primary-foreground/20 text-primary-foreground"
161+
className="h-4 w-4 text-[8px] bg-primary-foreground/20 text-primary-foreground"
162162
label={persona.displayName}
163163
/>
164164
<span className="text-[10px] text-primary-foreground">

desktop/src/features/channels/ui/AgentSessionThreadPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export function AgentSessionThreadPanel({
135135
>
136136
<UserAvatar
137137
avatarUrl={avatarUrl}
138-
className="h-5 w-5 shrink-0 rounded-full text-[8px]"
138+
className="h-5 w-5 shrink-0 text-[8px]"
139139
displayName={agent.name}
140140
size="xs"
141141
/>

desktop/src/features/channels/ui/BotActivityBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export function BotActivityComposerAction({
181181
<UserAvatar
182182
avatarUrl={agentAvatarUrl(agent)}
183183
className={cn(
184-
"rounded-full border border-background",
184+
"border border-background",
185185
isInline
186186
? "!h-[18px] !w-[18px] shadow-xs ring-1 ring-primary/25 text-[7px]"
187187
: "!h-5 !w-5 text-[8px]",
@@ -243,7 +243,7 @@ export function BotActivityComposerAction({
243243
>
244244
<UserAvatar
245245
avatarUrl={agentAvatarUrl(agent)}
246-
className="!h-6 !w-6 shrink-0 rounded-full text-[9px]"
246+
className="!h-6 !w-6 shrink-0 text-[9px]"
247247
displayName={agent.name}
248248
/>
249249
<span className="min-w-0 flex-1 truncate">{agent.name}</span>

desktop/src/features/channels/ui/MembersSidebarMemberCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export function MembersSidebarMemberCard({
121121
<div className="relative shrink-0">
122122
<ProfileAvatar
123123
avatarUrl={profileAvatarUrl ?? null}
124-
className="h-9 w-9 rounded-full text-[11px] shadow-none"
124+
className="h-9 w-9 text-[11px] shadow-none"
125125
iconClassName="h-4 w-4"
126126
label={memberAvatarLabel}
127127
/>

0 commit comments

Comments
 (0)