Commit 715b6c22 authored by JC Brand's avatar JC Brand

Fix wrapping and truncation issues in chat head.

parent 9436f6ed
...@@ -1225,7 +1225,7 @@ ...@@ -1225,7 +1225,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
margin: 0; margin: 0;
margin-top: 0.3em; } padding-top: 0.2em; }
#conversejs .chatbox-btn { #conversejs .chatbox-btn {
border-radius: 50%; border-radius: 50%;
border: 1px solid white; border: 1px solid white;
...@@ -1264,11 +1264,13 @@ ...@@ -1264,11 +1264,13 @@
#conversejs .chatbox .chat-title { #conversejs .chatbox .chat-title {
color: white; color: white;
line-height: 15px; line-height: 15px;
display: block; } display: block;
text-overflow: ellipsis;
overflow: hidden;
height: 2em; }
#conversejs .chatbox .chat-title a { #conversejs .chatbox .chat-title a {
color: white; color: white;
width: 100%; width: 100%; }
word-wrap: break-word; }
#conversejs .chatbox .chat-body { #conversejs .chatbox .chat-body {
background-color: white; background-color: white;
border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
margin: 0; margin: 0;
margin-top: 0.3em; padding-top: 0.2em;
} }
} }
.chatbox-btn { .chatbox-btn {
...@@ -77,10 +77,12 @@ ...@@ -77,10 +77,12 @@
color: $chat-head-text-color; color: $chat-head-text-color;
line-height: 15px; line-height: 15px;
display: block; display: block;
text-overflow: ellipsis;
overflow: hidden;
height: 2em;
a { a {
color: $chat-head-text-color; color: $chat-head-text-color;
width: 100%; width: 100%;
word-wrap: break-word;
} }
} }
.chat-body { .chat-body {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment