样式优化

This commit is contained in:
yj 2024-08-29 17:48:12 +08:00
parent 8a159704da
commit 8ee9d82e5f
2 changed files with 12 additions and 1 deletions

View File

@ -75,6 +75,17 @@
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative;
>div:nth-child(1) {
background-color: rgb(253, 194, 41);
color: white;
position: absolute;
left: 4px;
bottom: 4px;
font-size: 12px;
z-index: 1;
}
} }
} }
} }

View File

@ -136,7 +136,7 @@ const UserVideo: React.FC = () => {
userList.map((item: any, index: number) => { userList.map((item: any, index: number) => {
return <div className={styles.userVideoContentListItem} key={index}> return <div className={styles.userVideoContentListItem} key={index}>
<div className={styles.userVideoContentListItemVideo} id={`video-${item.screenShareId}`}> <div className={styles.userVideoContentListItemVideo} id={`video-${item.screenShareId}`}>
<Avatar name={item.userName} /> <div>{item.userName}</div>
</div> </div>
</div> </div>
}) })