Refactored scoutsuite rule button from "ScoutSuite rules" to just "Rules" to look more consistent with "Events" button
This commit is contained in:
parent
de69d167ba
commit
e79290e761
|
@ -6,7 +6,7 @@ import PillarLabel from './PillarLabel';
|
||||||
import EventsButton from './EventsButton';
|
import EventsButton from './EventsButton';
|
||||||
import ScoutSuiteRuleButton from './scoutsuite/ScoutSuiteRuleButton';
|
import ScoutSuiteRuleButton from './scoutsuite/ScoutSuiteRuleButton';
|
||||||
|
|
||||||
const EVENTS_COLUMN_MAX_WIDTH = 250;
|
const EVENTS_COLUMN_MAX_WIDTH = 180;
|
||||||
const PILLARS_COLUMN_MAX_WIDTH = 260;
|
const PILLARS_COLUMN_MAX_WIDTH = 260;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ export default class ScoutSuiteRuleButton extends Component {
|
||||||
hideCallback={this.toggleModal} />
|
hideCallback={this.toggleModal} />
|
||||||
<div className="text-center" style={{'display': 'grid'}}>
|
<div className="text-center" style={{'display': 'grid'}}>
|
||||||
<Button variant={'monkey-info'} size={'lg'} onClick={this.toggleModal}>
|
<Button variant={'monkey-info'} size={'lg'} onClick={this.toggleModal}>
|
||||||
<FontAwesomeIcon icon={faList}/> ScoutSuite rules
|
<FontAwesomeIcon icon={faList}/> Rules
|
||||||
<RuleCountBadge count={this.props.scoutsuite_rules.length}/>
|
<RuleCountBadge count={this.props.scoutsuite_rules.length}/>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue