From 7ff994b6eae555f6f9a220cdc655beeb101b8129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Fri, 8 Mar 2019 10:52:47 +0100 Subject: [PATCH] UX: post-notice max width on desktop --- app/assets/stylesheets/common/base/topic-post.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 3c0a1633949..1a9a4cf73bd 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -871,6 +871,9 @@ a.mention-group { color: $primary; padding: 1em; margin-bottom: 1em; + max-width: calc( + #{$topic-body-width} + #{$topic-avatar-width} - #{$topic-body-width-padding} + 3px + ); p { margin: 0;