mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 23:54:02 +08:00
c1cde16966
In some cases the thread reply count indicator (e.g. 433 replies) would wrap to the next line.
37 lines
735 B
SCSS
37 lines
735 B
SCSS
.chat-message-thread-indicator {
|
|
align-items: center;
|
|
display: grid;
|
|
grid: 1fr / auto-flow;
|
|
display: flex;
|
|
cursor: pointer;
|
|
grid-area: threadindicator;
|
|
background-color: var(--primary-very-low);
|
|
margin: 4px 0 -2px calc(var(--message-left-width) - 0.25rem);
|
|
padding-block: 0.25rem;
|
|
padding-inline: 0.5rem;
|
|
max-width: 500px;
|
|
border-radius: 4px;
|
|
|
|
&__replies-count {
|
|
color: var(--primary-medium);
|
|
font-size: var(--font-down-1);
|
|
}
|
|
|
|
&__view-thread {
|
|
font-size: var(--font-down-1);
|
|
flex: 1;
|
|
|
|
.chat-message-thread-indicator:hover & {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
&__replies-count + &__view-thread {
|
|
padding-left: 0.25rem;
|
|
}
|
|
|
|
&__separator {
|
|
margin: 0 0.5em;
|
|
}
|
|
}
|