mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 07:21:54 +08:00

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>
35 lines
725 B
SCSS
35 lines
725 B
SCSS
.chat-message-thread-indicator {
|
|
max-width: 600px;
|
|
grid-template-areas:
|
|
"avatar info replies participants"
|
|
"avatar excerpt excerpt excerpt";
|
|
|
|
&__replies-count {
|
|
display: flex;
|
|
align-self: center;
|
|
}
|
|
}
|
|
|
|
@container (max-width: 400px) {
|
|
.chat-message-thread-indicator {
|
|
grid-template-areas:
|
|
"avatar info info participants"
|
|
"excerpt excerpt excerpt replies";
|
|
|
|
&__replies-count {
|
|
align-self: center;
|
|
grid-area: replies;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
&__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;
|
|
}
|
|
}
|
|
}
|