mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Netview review feedback
This commit is contained in:
@@ -25,7 +25,7 @@ class MatchedResults extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { matches } = this.props;
|
||||
const { matches, style } = this.props;
|
||||
|
||||
if (!matches) {
|
||||
return null;
|
||||
@@ -42,7 +42,7 @@ class MatchedResults extends React.Component {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="matched-results">
|
||||
<div className="matched-results" style={style}>
|
||||
{matches.keySeq().take(SHOW_ROW_COUNT).map(fieldId => this.renderMatch(matches, fieldId))}
|
||||
{moreFieldMatches && <div className="matched-results-more" title={moreFieldMatchesTitle}>
|
||||
{`${moreFieldMatches.size} more matches`}
|
||||
|
||||
@@ -33,7 +33,7 @@ class NetworkSelector extends React.Component {
|
||||
});
|
||||
|
||||
const style = {
|
||||
borderBottomColor: 'transparent'
|
||||
borderBottomColor: showingNetworks ? '#A2A0B3' : 'transparent'
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user