UX: Muted style for entire chat section link when muted (#18852)

This commit is contained in:
Alan Guo Xiang Tan
2022-11-03 07:37:39 +08:00
committed by GitHub
parent 391a456443
commit d446ad3290
6 changed files with 35 additions and 18 deletions

View File

@ -310,9 +310,9 @@ acceptance("Discourse Chat - Core Sidebar", function (needs) {
assert.ok(
exists(
".sidebar-section-chat-dms .sidebar-section-link-sam .sidebar-section-link-content-muted"
".sidebar-section-chat-dms .sidebar-section-link-sam.sidebar-section-link--muted"
),
"muted direct chat channel has right CSS class configured"
"muted direct chat channel section link has right classname configured"
);
});
@ -321,9 +321,9 @@ acceptance("Discourse Chat - Core Sidebar", function (needs) {
assert.ok(
exists(
".sidebar-section-chat-channels .sidebar-section-link-random .sidebar-section-link-content-muted"
".sidebar-section-chat-channels .sidebar-section-link-random.sidebar-section-link--muted"
),
"muted random chat channel has right CSS class configured"
"muted random chat channel section link has right classname configured"
);
});