Skip to content

Commit

Permalink
Remove unexpected underline from pills
Browse files Browse the repository at this point in the history
  • Loading branch information
jryans committed Jan 7, 2019
1 parent 44ecaf6 commit d65b2f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions res/css/views/elements/_RichText.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
cursor: pointer;
}

/* More specific to override `.markdown-body a` text-decoration */
.mx_EventTile_content .markdown-body a.mx_Pill {
text-decoration: none;
}

/* More specific to override `.markdown-body a` color */
.mx_EventTile_content .markdown-body a.mx_UserPill,
.mx_UserPill {
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/elements/Pill.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ const Pill = React.createClass({
break;
}

const classes = classNames(pillClass, {
const classes = classNames("mx_Pill", pillClass, {
"mx_UserPill_me": userId === MatrixClientPeg.get().credentials.userId,
"mx_UserPill_selected": this.props.isSelected,
});
Expand Down

0 comments on commit d65b2f8

Please sign in to comment.