forked from LaconicNetwork/icns-frontend
Add text overflow about account name in before you start modal
This commit is contained in:
parent
4696bd1b5d
commit
d57716dc39
@ -85,7 +85,7 @@ export const BeforeYouStartModal: FunctionComponent<Props> = (props) => {
|
|||||||
{selectedWalletItem && (
|
{selectedWalletItem && (
|
||||||
<selectedWalletItem.IconComponent width={16} height={16} />
|
<selectedWalletItem.IconComponent width={16} height={16} />
|
||||||
)}
|
)}
|
||||||
{walletKeyName}
|
<WalletAccountName>{walletKeyName}</WalletAccountName>
|
||||||
</WalletAccountValue>
|
</WalletAccountValue>
|
||||||
</WalletAccountContainer>
|
</WalletAccountContainer>
|
||||||
<ClaimWithTwitterButton onClick={handleClickButton}>
|
<ClaimWithTwitterButton onClick={handleClickButton}>
|
||||||
@ -186,6 +186,13 @@ const WalletAccountValue = styled.div`
|
|||||||
color: ${color.grey["100"]};
|
color: ${color.grey["100"]};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const WalletAccountName = styled.div`
|
||||||
|
max-width: 11rem;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
`;
|
||||||
|
|
||||||
const ClaimWithTwitterButton = styled.button`
|
const ClaimWithTwitterButton = styled.button`
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
Loading…
Reference in New Issue
Block a user