Ensure that the avatar and the user name will be kept together

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 <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2018-09-05 17:37:50 +02:00
parent e7d4d3a34b
commit 2e424d84a4
1 changed files with 4 additions and 0 deletions

View File

@ -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;