Skip to content

Commit f53ec79

Browse files
committed
feat: avatar length handling
Signed-off-by: Adam Setch <[email protected]>
1 parent 5ea227b commit f53ec79

File tree

8 files changed

+2359
-2361
lines changed

8 files changed

+2359
-2361
lines changed

src/renderer/components/avatars/AvatarWithFallback.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export const AvatarWithFallback: React.FC<IAvatarWithFallback> = ({
3434
align="center"
3535
gap="condensed"
3636
data-testid="avatar"
37-
className="truncate"
3837
>
3938
{!src || isBroken ? (
4039
isNonHuman ? (
@@ -53,8 +52,7 @@ export const AvatarWithFallback: React.FC<IAvatarWithFallback> = ({
5352
)}
5453
{name && (
5554
<Truncate title={name} inline maxWidth={280}>
56-
asdokmdasoimdasoisadoindsviunafjhnfpuinfdsapiujndfp iun
57-
piunaspiufnpiuadspdsfainfdsai
55+
{name}
5856
</Truncate>
5957
)}
6058
</Stack>

src/renderer/components/avatars/__snapshots__/AvatarWithFallback.test.tsx.snap

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/notifications/__snapshots__/NotificationHeader.test.tsx.snap

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/notifications/__snapshots__/NotificationRow.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/notifications/__snapshots__/RepositoryNotifications.test.tsx.snap

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)