Unscope .messages-list

This commit is contained in:
gregoirenovel 2018-09-06 18:22:03 +02:00
parent 5b7213816e
commit e2091fabdf

View file

@ -2,31 +2,31 @@
@import "common"; @import "common";
@import "constants"; @import "constants";
.messagerie { .messages-list {
.messages-list { max-height: 350px;
max-height: 350px; overflow-y: scroll;
overflow-y: scroll; border: 1px solid $border-grey;
border: 1px solid $border-grey; background: $light-grey;
background: $light-grey; padding: 2 * $default-spacer;
padding: 2 * $default-spacer; margin-bottom: $default-spacer;
margin-bottom: $default-spacer; border-radius: 4px;
border-radius: 4px;
> li { > li {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
margin-bottom: $default-padding; margin-bottom: $default-padding;
padding: $default-padding; padding: $default-padding;
background: #FFFFFF; background: #FFFFFF;
width: 80%; width: 80%;
border-radius: 3px; border-radius: 3px;
&.from-me { &.from-me {
margin-left: auto; margin-left: auto;
}
} }
} }
}
.messagerie {
.person-icon { .person-icon {
margin-right: $default-spacer; margin-right: $default-spacer;
} }