Skip to content

Commit e5696c5

Browse files
authored
Update chat.scss
1 parent 2fc8809 commit e5696c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/pages/chat/chat.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ page-chat {
9494
.message.left{
9595
.msg-content{
9696
background-color: $toUserBackgroundColor;
97+
width:auto;
98+
float:left;
99+
max-width:240px;
97100
}
98101
.msg-detail{
99102
padding-left: 60px;
@@ -132,6 +135,9 @@ page-chat {
132135
.msg-content{
133136
background-color: $userBackgroundColor;
134137
color: #fff;
138+
width:auto;
139+
float:right;
140+
max-width:240px;
135141
span.triangle{
136142
background-color: $userBackgroundColor;
137143
border-bottom-width: 0;

0 commit comments

Comments
 (0)