Commit 3e200968 authored by guang.wu's avatar guang.wu

fix: 修改样式

parent 27cf9ecf
...@@ -78,7 +78,9 @@ class AvatarDropdown extends React.Component { ...@@ -78,7 +78,9 @@ class AvatarDropdown extends React.Component {
/> />
<div className={styles.nameBox}> <div className={styles.nameBox}>
<div className={styles.name}>{currentUser.name}</div> <div className={styles.name}>{currentUser.name}</div>
<div className={styles.name}>{platform[businessInfo.channelId]}</div> {businessInfo.channelId && (
<div className={styles.subName}>{platform[businessInfo.channelId]}</div>
)}
</div> </div>
</div> </div>
</HeaderDropdown> </HeaderDropdown>
......
...@@ -87,6 +87,12 @@ ...@@ -87,6 +87,12 @@
line-height: 20px; line-height: 20px;
text-align: center; text-align: center;
} }
.subName {
color: #666;
font-size: 12px;
line-height: 20px;
text-align: center;
}
.dark { .dark {
height: @layout-header-height; height: @layout-header-height;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment