message timestamp is always shown on the bottom right now

This commit is contained in:
or-else
2021-04-28 16:32:36 -07:00
parent f6acbaab21
commit 271fbc4b02
7 changed files with 23 additions and 21 deletions
+9 -14
View File
@@ -1505,11 +1505,13 @@ i.search {
}
.chat-box .bubble div.message-content {
position: relative;
color: #212121;
margin: 0;
max-width: 36rem;
overflow-wrap: break-word;
}
/* The timestamp is a floating element. Need to ensure div.message-content is expanded
* to accomodate it. It's usually called clearfix. */
.chat-box .bubble div.message-content:after {
@@ -1520,28 +1522,21 @@ i.search {
visibility: hidden;
}
.chat-box .timestamp-padding {
display: inline-block;
width: 4rem;
height: 0;
}
.chat-box .timestamp {
position: relative;
font-size: 80%;
color: #777;
padding-left: 1rem;
top: 0.5rem;
top: 0.35rem;
float: right;
white-space: nowrap;
}
/* Typing notification bubble */
.chat-box .typing {
display: inline-block;
border-radius: 0.5rem;
width: 2rem;
padding: 0.25rem 0.35rem;
vertical-align: middle;
text-align: center;
color: #aaa;
margin-top: 0.75rem;
}
/* The name of the person who sent the message
* (group chat only)
*/
+1 -1
View File
File diff suppressed because one or more lines are too long