Remove unexpected underline from pills

Fixes vector-im/riot-web#8031.
pull/21833/head
J. Ryan Stinnett 2019-01-07 09:13:01 -06:00
parent 44ecaf6177
commit bf87547f88
2 changed files with 6 additions and 1 deletions

View File

@ -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 {

View File

@ -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,
});