From 92bf1cec44d372ea660373e953b89c4fc75d4d16 Mon Sep 17 00:00:00 2001 From: Daniel Calviño Sánchez Date: Wed, 5 Sep 2018 17:37:50 +0200 Subject: Ensure that the avatar and the user name will be kept together MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise a line break could be added between the avatar and the user name when the wrapper is close to the right border of the message. Signed-off-by: Daniel Calviño Sánchez --- apps/comments/css/comments.scss | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/comments') diff --git a/apps/comments/css/comments.scss b/apps/comments/css/comments.scss index 01b739e5f5b..62a8e35eefc 100644 --- a/apps/comments/css/comments.scss +++ b/apps/comments/css/comments.scss @@ -165,6 +165,10 @@ background-color: var(--color-background-dark); border-radius: 50vh; padding: 1px 7px 1px 1px; + + /* Ensure that the avatar and the user name will be kept together. */ + white-space: nowrap; + .avatar { img { vertical-align: top; -- cgit v1.2.3