From e2091fabdf2fc2e4c28fae582afed713660dcac6 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Thu, 6 Sep 2018 18:22:03 +0200 Subject: [PATCH] Unscope .messages-list --- .../stylesheets/new_design/messagerie.scss | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/app/assets/stylesheets/new_design/messagerie.scss b/app/assets/stylesheets/new_design/messagerie.scss index 74102f1c7..6e575540b 100644 --- a/app/assets/stylesheets/new_design/messagerie.scss +++ b/app/assets/stylesheets/new_design/messagerie.scss @@ -2,31 +2,31 @@ @import "common"; @import "constants"; -.messagerie { - .messages-list { - max-height: 350px; - overflow-y: scroll; - border: 1px solid $border-grey; - background: $light-grey; - padding: 2 * $default-spacer; - margin-bottom: $default-spacer; - border-radius: 4px; +.messages-list { + max-height: 350px; + overflow-y: scroll; + border: 1px solid $border-grey; + background: $light-grey; + padding: 2 * $default-spacer; + margin-bottom: $default-spacer; + border-radius: 4px; - > li { - display: flex; - align-items: flex-start; - margin-bottom: $default-padding; - padding: $default-padding; - background: #FFFFFF; - width: 80%; - border-radius: 3px; + > li { + display: flex; + align-items: flex-start; + margin-bottom: $default-padding; + padding: $default-padding; + background: #FFFFFF; + width: 80%; + border-radius: 3px; - &.from-me { - margin-left: auto; - } + &.from-me { + margin-left: auto; } } +} +.messagerie { .person-icon { margin-right: $default-spacer; }