mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: use icon mode for org avatar (#15945)
Fix related to https://github.com/coder/coder/pull/15930
This commit is contained in:
@@ -313,7 +313,12 @@ const OrganizationBreadcrumb: FC<OrganizationBreadcrumbProps> = ({
|
||||
<Popover mode="hover">
|
||||
<PopoverTrigger>
|
||||
<span css={styles.breadcrumbSegment}>
|
||||
<Avatar size="sm" src={orgIconUrl ?? ""} fallback={orgName} />
|
||||
<Avatar
|
||||
size="sm"
|
||||
variant="icon"
|
||||
src={orgIconUrl}
|
||||
fallback={orgName}
|
||||
/>
|
||||
<span css={styles.breadcrumbText}>{orgName}</span>
|
||||
</span>
|
||||
</PopoverTrigger>
|
||||
|
||||
Reference in New Issue
Block a user