优化样式

This commit is contained in:
yj 2024-08-08 14:18:41 +08:00
parent a1dfd24ab8
commit 4e322cc417
2 changed files with 2 additions and 4 deletions

View File

@ -541,7 +541,6 @@
margin-right: 30px;
cursor: pointer;
position: relative;
&:last-child {
margin: 0;
}
@ -559,7 +558,6 @@
position: absolute;
color: white;
font-size: 14px;
right: -20px;
width: 30px;
}

View File

@ -1012,8 +1012,8 @@ const Meeting: React.FC = () => {
<div className='drag' onClick={() => changeStatusList(row, itemIndex, rowIndex)} key={rowIndex}>
<img src={row.active ? row.iconActive : row.icon} alt="" />
<span>{row.title}</span>
{row.title === '成员列表' ? <div>{roomUserList.length}</div> : null}
{row.title === '聊天' && noViewChatList > 0 ? <div>{noViewChatList}</div> : null}
{row.title === '成员列表' ? <div style={{ right: '-20px' }}>{roomUserList.length}</div> : null}
{row.title === '聊天' && noViewChatList > 0 ? <div style={{ right: '-30px' }}>{noViewChatList}</div> : null}
</div>
)
})}