fix: avatar object fit

This commit is contained in:
zerosoul
2022-06-09 23:26:35 +08:00
parent d49107b3ec
commit ec9bcb3233
4 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -31,12 +31,13 @@ const StyledMsg = styled.div`
&.readonly:hover {
background: none;
}
.avatar {
> .avatar {
flex-shrink: 0;
cursor: pointer;
width: 40px;
height: 40px;
img {
object-fit: cover;
width: 100%;
height: 100%;
border-radius: 50%;