提交 f974b2ec 编写于 作者: C chenshuai2144

💄 UI: do not set icon color

上级 8c907422
......@@ -66,7 +66,7 @@ class AvatarDropdown extends React.Component<GlobalHeaderRightProps> {
<HeaderDropdown overlay={menuHeaderDropdown}>
<span className={`${styles.action} ${styles.account}`}>
<Avatar size="small" className={styles.avatar} src={currentUser.avatar} alt="avatar" />
<span className={styles.name}>{currentUser.name}</span>
<span className={`${styles.name} anticon`}>{currentUser.name}</span>
</span>
</HeaderDropdown>
) : (
......
......@@ -14,7 +14,7 @@
.right {
display: flex;
float: right;
height: @layout-header-height;
height: 48px;
margin-left: auto;
overflow: hidden;
.action {
......@@ -25,7 +25,6 @@
cursor: pointer;
transition: all 0.3s;
> span {
color: @text-color;
vertical-align: middle;
}
&:hover {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册