mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 08:45:05 +00:00
UX: Add a class we can use to target quotes without groups
This commit is contained in:
parent
00d879ec63
commit
90d3544db8
@ -62,7 +62,7 @@ const rule = {
|
|||||||
if (primaryGroupName && primaryGroupName.length !== 0) {
|
if (primaryGroupName && primaryGroupName.length !== 0) {
|
||||||
token.attrs.push(['class', `quote group-${primaryGroupName}`]);
|
token.attrs.push(['class', `quote group-${primaryGroupName}`]);
|
||||||
} else {
|
} else {
|
||||||
token.attrs.push(['class', 'quote']);
|
token.attrs.push(['class', 'quote no-group']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (postNumber) {
|
if (postNumber) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user