discourse/plugins/chat/assets/stylesheets/common/chat-thread-participants.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

46 lines
783 B
SCSS

.chat-thread-participants {
&__other-count {
font-size: var(--font-down-2);
color: var(--primary-high);
white-space: nowrap;
margin-left: 0.25rem;
}
&__avatar-group {
display: flex;
align-items: center;
justify-content: flex-end;
.chat-user-avatar__container {
padding: 0;
}
.chat-user-avatar {
width: auto !important;
.avatar {
padding: 0;
}
}
}
}
@container (max-width: 400px) {
.chat-thread-participants {
&__avatar-group {
flex-direction: row;
justify-content: flex-start;
.chat-user-avatar {
&:not(:last-child) {
margin-right: -10px;
}
.avatar {
border: 1px solid var(--primary-very-low);
}
}
}
}
}