From 6a475981e3efdae140ead06ffd3f5cad30d4b200 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Fri, 7 Sep 2018 20:10:22 +0200 Subject: [PATCH] The relative message width is only relevant in messages-list --- app/assets/stylesheets/new_design/message.scss | 1 - app/assets/stylesheets/new_design/messagerie.scss | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/new_design/message.scss b/app/assets/stylesheets/new_design/message.scss index 97b008951..d38a946cd 100644 --- a/app/assets/stylesheets/new_design/message.scss +++ b/app/assets/stylesheets/new_design/message.scss @@ -7,7 +7,6 @@ margin-bottom: $default-padding; padding: $default-padding; background: #FFFFFF; - width: 80%; border-radius: 3px; &.from-me { diff --git a/app/assets/stylesheets/new_design/messagerie.scss b/app/assets/stylesheets/new_design/messagerie.scss index 89a5e40a5..2367fe0fc 100644 --- a/app/assets/stylesheets/new_design/messagerie.scss +++ b/app/assets/stylesheets/new_design/messagerie.scss @@ -9,6 +9,10 @@ padding: 2 * $default-spacer; margin-bottom: $default-spacer; border-radius: 4px; + + .message { + width: 80%; + } } .messagerie {