Skip to content

Commit

Permalink
fix: truncated lines
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavomorinaga committed May 13, 2022
1 parent 86d8c79 commit 7d0fa10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ yarn-error.log*
# pwa
public/*.js
public/*.map

# sitemap
public/robots.txt
public/sitemap.xml
public/sitemap-0.xml
2 changes: 1 addition & 1 deletion src/components/UserItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function UserItemComponent({
<GridItem>
<Flex direction="column" width="52" gap="1">
{user.name && (
<Text as="span" isTruncated lineHeight="normal">
<Text as="span" noOfLines={1} lineHeight="normal">
{user.name}
</Text>
)}
Expand Down

0 comments on commit 7d0fa10

Please sign in to comment.