Use more spercific selector instead of !important

This commit is contained in:
David Baker 2017-11-02 10:37:25 +00:00
parent cd84d86fd1
commit 65ea7a8460

View File

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