Skip to content

Commit

Permalink
css: Don't show mention highlight for muted messages.
Browse files Browse the repository at this point in the history
We don't want messages that are muted and hidden to show the user that
they are mentioned in the message.
  • Loading branch information
WesleyAC authored and chrisbobbe committed May 4, 2021
1 parent 288f060 commit 0080da5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/webview/static/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ body {
Inside a message, outside its contents.
*/

[data-mentioned="true"], [data-wildcard_mentioned="true"] {
[data-mentioned="true"][data-mute-state="shown"],
[data-wildcard_mentioned="true"][data-mute-state="shown"] {
background: hsla(0, 100%, 50%, 0.05);
}
.message:not([data-read="true"]) {
Expand Down

0 comments on commit 0080da5

Please sign in to comment.