#Semi-compact mode
1 messages · Page 1 of 1 (latest)
thank you for this! but how do i change the text message, like move a little bit to the right.. 
like this i mean ><
:root {
--chat-avatar-size: 1em;
--custom-message-avatar-size: 1em;
}
[class*="cozy_"] {
&[class*="hasThread_"]:after {
top: calc(
var(--custom-message-spacing-vertical-container-cozy)
+ var(--custom-message-avatar-size)
) !important;
}
&[class*="hasThread_"][class*="hasReply_"]:after {
top: calc(
var(--custom-message-spacing-vertical-container-cozy)
+ var(--custom-message-avatar-size)
+ var(--custom-message-reply-message-preview-line-height)
+ 4px
) !important;
}
[class*="timestamp_"][class*="alt_"] {
width: calc(100% - 4px);
z-index: -1;
}
}
thank you!!
no problem
I'm having some issues selecting text in certain messages, this includes opening spoilered text
Are you using the latest version of the snippet
didn't know you updated, thanks for the heads up
Yeah I noticed the same, seems like the hover timestamp was covering the msg and blocking clicks
ah
Hey ! I've been using this css for a while, but it broke with a recent discord update. I feel like this is just a small change due to some spacing not working properly. Any idea ?
/* Semi-Compact Mode */
:root {
--chat-avatar-size: 1em;
--custom-message-avatar-size: 1em;
--custom-message-margin-left-content-cozy: var(--custom-message-margin-horizontal);
}
[class*="cozy"] {
[class*="header"] {
margin-left: calc(var(--custom-message-avatar-size) * 0.75);
}
& > [class*="repliedMessage"] {
margin-left: calc(var(--custom-message-avatar-size) + var(--custom-message-margin-horizontal));
}
&[class*="hasThread"]:after {
left: calc(var(--custom-message-margin-horizontal) - var(--space-xs) - 1px);
width: var(--space-xs);
border-top: 2px solid var(--spine-default);
border-top-left-radius: 8px;
top: calc(
var(--custom-message-spacing-vertical-container-cozy)
+ var(--custom-message-avatar-size)/2
) !important;
}
&[class*="hasThread"][class*="hasReply"]:after {
top: calc(
var(--custom-message-spacing-vertical-container-cozy)
+ var(--custom-message-avatar-size)/2
+ var(--custom-message-reply-message-preview-line-height)
+ 4px
) !important;
}
[class*="timestamp"][class*="alt"] {
width: calc(100% - 16px);
z-index: -1;
}
}
@tribal veldt
Yup that fixed it, which line did you change ? I'm curious
CSS is still a mystery to me sometimes