Skip to content

Commit 65ea7a8

Browse files
committed
Use more spercific selector instead of !important
1 parent cd84d86 commit 65ea7a8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/elements/_RichText.scss‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
padding-right: 5px;
2626
}
2727

28-
.mx_EventTile_highlight .mx_EventTile_content .markdown-body a.mx_UserPill_me, .mx_AtRoomPill {
29-
/* !important because otherwise @room pills in links get their colours clobbered by links styles :( */
30-
color: $accent-fg-color !important;
31-
background-color: $mention-user-pill-bg-color !important;
28+
.mx_EventTile_highlight .mx_EventTile_content .markdown-body a.mx_UserPill_me,
29+
.mx_EventTile_content .mx_AtRoomPill {
30+
color: $accent-fg-color;
31+
background-color: $mention-user-pill-bg-color;
3232
padding-right: 5px;
3333
}
3434

0 commit comments

Comments
 (0)