Description
I made some changes in the custom css, but they’re not loading. Tried a lot of things, it looks cache but don’t know if I’m right. This is my css code so far:
/* NEW DAY FIX */
body #react-root .message.new-day {
margin-top: 40px;
width: 100%;
max-width: calc(100% - 80px);
background: transparent !important;
}
body #react-root .message.new-day:after {
border: 0;
}
body #react-root .message.new-day:before{
padding: 10px 40px;
border-radius: 40px;
background-color: rgba(0,0,0,0.2) !important;
}
/* MSG BODY */
body #react-root ul[aria-live="polite"]{
display: inline-flex;
flex-direction: column;
width: 100%;
}
body #react-root .message {
display: flex;
flex-direction: column-reverse;
align-items: flex-start;
justify-content: flex-start;
max-width: 45%;
}
body #react-root .message.own {
align-self: flex-end !important;
}
body #react-root .message .user {
margin-bottom: 5px;
}
body #react-root .message .user .message-alias{
display: none;
}
body #react-root .message .message-body-wrapper {
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: flex-start;
justify-content: flex-start;
padding: 16px 30px 16px 16px;
border-radius: 30px;
max-width: max-content;
}
body #react-root .message.own .message-body-wrapper {
flex-direction: row-reverse;
align-items: center;
justify-content: stretch;
}
body.dark-mode .message-body-wrapper {
background-color: rgb(54 66 86) !important;
}
body.dark-mode .message.own .message-body-wrapper {
background-color: rgba(255,255,255,0.25) !important;
}
body #react-root .message time{
margin-top: -5px;
font-size: 85%;
}
body #react-root .message.own time {
margin-bottom: -8px;
margin-left: 8px;
/* position: absolute; */
/* bottom: 10px; */
/* right: 50px; */
}
body #react-root .message.own .thumb {
display: none;
}
body #react-root .message .user-card-message .avatar {
display: none;
}
body #react-root .message.own .role-tag {
display: none;
}
body #react-root .message .thumb:not(.thumb-small) .avatar{
width: 40px;
height: 40px;
border-radius: 40px;
margin-right: 4px;
}
body #react-root .message-body-wrapper {
margin-left: 8px
}
body #react-root .message.system.uj {
padding-left: 10px;
}
/* MSG ACTIONS */
body #react-root .message-actions, .rc-member-list__counter {
border-radius: 80px;
padding: 6px 12px;
box-shadow: 1px 5px 10px rgb(0 0 0 / 30%);
border-width: 1px;
top: -20px;
right: 0;
left: auto;
}
body #react-root .message.own .message-actions, .message.own .rc-member-list__counter {
left: 0;
right: auto;
}
body #react-root .message-actions__button-icon--thread {
display: none;
}
/* MSG POPUP */
body #react-root .reply-preview__wrap.message-popup {
top: -8px;;
}
body #react-root .reply-preview.message-popup {
padding: 20px 20px 25px 40px !important;
border-radius: 180px 180px 0;
}
/* MSG REACTIONS */
body #react-root .message .reactions {
order:-1;
margin-top: -10px;
display: flex;
flex-direction: row;
margin-left: 10px;
}
body #react-root .message.own .reactions {
flex-direction: row-reverse;
}
body.dark-mode .message .reactions>li {
background: var(--color-dark-medium)
}
body.dark-mode .message .reactions li {
border: 2px solid var(--color-darkest) !important;
}
body #react-root .message .reactions>li.add-reaction {
width: 30px;
display: flex;
align-items: center;
justify-content: center;
}
body #react-root .message .reactions>li .reaction-emoji .emojione {
width: 22px;
min-width: 22px;
height: 22px;
min-height: 22px;
margin: -.2ex 0.15em .2ex;
pointer-events: none;
}
body #react-root .reactions .reaction-count{
margin-left: 0;
margin-right: 4px;
}
body #react-root .message .reactions>li {
padding: 4px;
height: 30px;
border: 0;
border-radius: 20px;
}
/* TEXTAREA SEND MSG */
body #react-root .rc-message-box{
padding-bottom: 36px;
}
body #react-root .rc-message-box__container {
border-radius: 40px;
border-color: rgba(106, 106, 106, .1);
}
body #react-root .rc-message-box__toolbar-formatting, .rc-message-box__toolbar-formatting-item{
height: 36px;
}
body #react-root .rc-message-box__toolbar-formatting-icon {
font-size: 20px;
background-color: rgba(255,255,255,0.1);
margin: 10px 2px;
border-radius: 4px
}
body #react-root span[data-title="KaTeX"], span[title="KaTeX"]{
display: none;
}
/* This CSS block is used to counter RocketChat's bug which crop the end of custom CSS. */
.dummy-entry {
color: whitesmoke;
}
Server Setup Information
SaaS hosted