styling fix

This commit is contained in:
Patrick O'Carroll
2018-01-08 17:28:18 +01:00
parent 457a02b970
commit 8b00e65a83
2 changed files with 3 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ export class AlertRuleItem extends React.Component<AlertRuleItemProps, any> {
};
renderText(text: string, searchArray) {
return <Highlighter highlightClassName="highlight" textToHighlight={text} searchWords={searchArray} />;
return <Highlighter highlightClassName="textHighlight" textToHighlight={text} searchWords={searchArray} />;
}
render() {

View File

@@ -171,8 +171,8 @@
display: flex;
}
.highlight {
background: orange;
.textHighlight {
background: $orange;
color: $white;
padding: 0;
}