discourse/plugins/chat/assets/stylesheets/mobile/chat-message-thread-indicator.scss
David Taylor d88ee33eb6
DEV: Introduce stylelint (#29852)
Stylelint is a css linter: https://stylelint.io/

As part of this change we have added two javascript scripts:

```
pnpm lint:css
pnpm lint:css:fix
```

Look at `.vscode/settings.json.sample` and `.vscode/extensions.json` for
configuration in VSCode.

---------

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2025-01-20 15:27:42 +00:00

29 lines
533 B
SCSS

.chat-message-thread-indicator {
.c-routes.--threads & {
background: var(--secondary);
}
grid-template-areas:
"avatar info info participants"
"excerpt excerpt excerpt replies";
.chat-thread-participants {
.avatar {
width: 22px;
height: 22px;
}
}
&__last-reply-excerpt {
white-space: wrap;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
margin-top: 0.5rem;
margin-right: 0.25rem;
}
&__replies-count {
grid-area: replies;
}
}