Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS for room notification pills #5494

Merged
merged 2 commits into from
Nov 2, 2017
Merged

CSS for room notification pills #5494

merged 2 commits into from
Nov 2, 2017

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Nov 1, 2017

Unsure if there's a better way than the !importants here :(

.mx_EventTile_highlight .mx_EventTile_content .markdown-body a.mx_UserPill_me {
color: $accent-fg-color;
background-color: $mention-user-pill-bg-color;
.mx_EventTile_highlight .mx_EventTile_content .markdown-body a.mx_UserPill_me, .mx_AtRoomPill {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if you're more specific with the CSS selector, you can get away without the !important:

.mx_EventTile_highlight .mx_EventTile_content .markdown-body a.mx_UserPill_me, 
.mx_EventTile_highlight .mx_EventTile_content .markdown-body a.mx_AtRoomPill {

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes! good point

@lukebarnard1 lukebarnard1 merged commit fb8e41a into develop Nov 2, 2017
@t3chguy t3chguy deleted the dbkr/pillify_at_room branch May 12, 2022 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants