discourse/plugins/chat/assets/stylesheets/common/chat-message-thread-indicator.scss
Martin Brennan c819c96c31
FIX: Minor thread indicator issue (#22128)
* Set a line height for the last reply excerpt so the height
  does not jump when including an emoji
2023-06-15 16:05:06 +10:00

69 lines
1.2 KiB
SCSS

.chat-message-thread-indicator {
display: flex;
align-items: center;
gap: 1rem;
cursor: pointer;
grid-area: threadindicator;
max-width: 1000px;
background-color: var(--primary-very-low);
margin: 4px 0 -2px calc(var(--message-left-width) - 0.25rem);
padding-block: 0.5rem;
padding-inline: 0.5rem;
border-radius: 8px;
color: var(--primary);
&:visited,
&:hover {
color: var(--primary);
}
&:hover {
box-shadow: var(--shadow-dropdown-lite);
}
&__participants {
flex-shrink: 0;
align-self: flex-start;
}
&__last-reply-avatar {
align-self: flex-start;
.chat-user-avatar {
width: auto !important;
}
}
&__last-reply-metadata {
display: flex;
align-items: center;
gap: 0.25rem;
color: var(--primary-medium);
font-size: var(--font-down-1);
}
&__last-reply-label {
margin-right: 0.25rem;
}
&__last-reply-username {
font-weight: bold;
color: var(--secondary-low);
font-size: var(--font-up-1);
}
&__last-reply-excerpt {
@include ellipsis;
line-height: 1.8rem;
}
&__body {
overflow: hidden;
white-space: nowrap;
flex-shrink: 1;
}
&__replies-count {
color: var(--tertiary);
}
}