Login & Register

This commit is contained in:
Limo Saplf
2019-09-01 21:56:21 +08:00
parent d9a8408535
commit 4480fc8e19
12 changed files with 231 additions and 23 deletions

View File

@@ -26,7 +26,7 @@ const AccountItem: React.FC<AccountItemProps> = ({
<div className={`${styles.item} ${className}`} onClick={onClick}>
<span className={styles.title}>{titleText}</span>
<span className={styles.message}>{message}</span>
<span className={styles.preview}>{preview}</span>
{preview && <span className={styles.preview}>{preview}</span>}
{showGo && <Icon className={styles.go} type="right" />}
</div>
);

View File

@@ -26,6 +26,9 @@
flex-basis: 0;
margin: 0 10px;
color: @primary-color;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.preview {