from-me is only relevant when the message is in a messages-list

This commit is contained in:
gregoirenovel 2018-09-07 20:13:45 +02:00
parent 6a475981e3
commit ce458764f1
2 changed files with 4 additions and 4 deletions

View file

@ -9,10 +9,6 @@
background: #FFFFFF; background: #FFFFFF;
border-radius: 3px; border-radius: 3px;
&.from-me {
margin-left: auto;
}
.person-icon { .person-icon {
margin-right: $default-spacer; margin-right: $default-spacer;
} }

View file

@ -12,6 +12,10 @@
.message { .message {
width: 80%; width: 80%;
&.from-me {
margin-left: auto;
}
} }
} }