Skip to content

Commit

Permalink
Merge pull request #540 from destinygg/fix/tag-visibility
Browse files Browse the repository at this point in the history
Fix increased visibility overriding highlighting
  • Loading branch information
11k authored Nov 2, 2024
2 parents 72ca05b + a2396c2 commit fba8b8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
4 changes: 0 additions & 4 deletions assets/chat/css/messages/modifiers/_highlight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,4 @@
.continue {
color: a.$color-chat-text3;
}

.pref-taggedvisibility & {
background-color: a.$color-chat-highlight;
}
}
9 changes: 5 additions & 4 deletions assets/chat/css/messages/modifiers/_tagged.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ $tag-colors: (
content: '';
}

.pref-taggedvisibility & {
background-color: a.$color-chat-tagged;
}

@each $name, $color in $tag-colors {
&.msg-tagged-#{$name}:before {
background-color: $color;
}
}
}

// Prioritize highlighted message background color
.pref-taggedvisibility .msg-tagged:not(.msg-highlight) {
background-color: a.$color-chat-tagged;
}

0 comments on commit fba8b8f

Please sign in to comment.