Commit 57e47740 by zhousil

up

parent 202611d0
Showing with 11 additions and 29 deletions
...@@ -382,13 +382,7 @@ ...@@ -382,13 +382,7 @@
position: relative; position: relative;
&.my-message { &.my-message {
.msg-avatar {
margin-right: 0;
margin-left: 10px;
}
.msg-detail { .msg-detail {
margin-top: 0;
background-color: #dbf2ff; background-color: #dbf2ff;
border-radius: 8px 0 8px 8px; border-radius: 8px 0 8px 8px;
} }
...@@ -436,36 +430,24 @@ ...@@ -436,36 +430,24 @@
} }
} }
.msg-avatar { .msg-name {
margin-right: 10px;
flex: 40px 0 0;
}
i.msg-avatar {
font-size: 30px;
background-color: #c0c4cc;
border-radius: 4px;
width: 40px;
height: 40px;
&:before {
position: relative;
left: 5px;
top: 5px;
color: #fff;
}
}
.msg-name {
font-size: 14px; font-size: 14px;
color: #888; color: #888;
text-align: right; text-align: right;
margin-bottom: 3px; margin-bottom: 3px;
min-height: 16px; min-height: 16px;
&.algin-left {
text-align: left; .el-avatar {
margin-left: 10px;
}
&.flex-row-reverse {
.el-avatar {
margin-left: 0;
margin-right: 10px;
} }
} }
}
.msg-content { .msg-content {
text-align: right; text-align: right;
......
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 sign in to comment