Skip to content

Commit

Permalink
main chat last thread message css fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mrFreeman-G committed Aug 27, 2023
1 parent 60047a7 commit 8ebd570
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion rocketchat.css
Original file line number Diff line number Diff line change
Expand Up @@ -1502,16 +1502,32 @@ html[data-theme="flat"] .rcx-message.rcx-message--sequential > .rcx-message-cont
}
/* message > left container (avatar) */
html[data-theme="flat"] .rcx-message > div:nth-child(1) {
width: 50px;
/* width: 50px; */
padding-left: 50px;
}
/* message > right container (message) */
html[data-theme="flat"] .rcx-message > div:nth-child(2) {
padding-left: 20px !important;
}

/* message > last message in thread (useless) */
html[data-theme="flat"] .rcx-message.rcx-message-thread {
/* display: none !important; */
}
html[data-theme="flat"] ul.messages-list > .rcx-message.rcx-message-thread {
width: 85%;
}
html[data-theme="flat"] ul.messages-list > .rcx-message.rcx-message-thread figure.rcx-avatar {
width: 20px;
height: 20px;
}
html[data-theme="flat"] ul.messages-list >.rcx-message.rcx-message-thread > div:nth-child(1) {
padding-left: initial;
}
html[data-theme="flat"] ul.messages-list > .rcx-message.rcx-message-thread:before {
display: none !important;
}

/* message (general) > body */
html[data-theme="flat"] .rcx-message-body {
color: var(--messages-font-color-main) !important;
Expand Down

0 comments on commit 8ebd570

Please sign in to comment.