Skip to content

Commit

Permalink
Merge pull request #42 from tonkeeper/fix/wallet-name
Browse files Browse the repository at this point in the history
Added wallet name text ellipsis in the aside menu
  • Loading branch information
KuznetsovNikita authored Mar 6, 2024
2 parents dacc726 + 1665407 commit 7add1df
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/uikit/src/components/aside/AsideMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ const AsideMenuCard = styled.button<{ isSelected: boolean; padding: 's' | 'm' }>
color: ${props => props.theme.textSecondary};
}
& > ${Body2} {
text-align: left;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
transition: background-color 0.2s ease-in-out;
&:hover {
Expand Down

0 comments on commit 7add1df

Please sign in to comment.