Refactored scoutsuite rule button from "ScoutSuite rules" to just "Rules" to look more consistent with "Events" button

This commit is contained in:
VakarisZ 2021-01-15 11:20:57 +02:00
parent de69d167ba
commit e79290e761
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import PillarLabel from './PillarLabel';
import EventsButton from './EventsButton';
import ScoutSuiteRuleButton from './scoutsuite/ScoutSuiteRuleButton';
const EVENTS_COLUMN_MAX_WIDTH = 250;
const EVENTS_COLUMN_MAX_WIDTH = 180;
const PILLARS_COLUMN_MAX_WIDTH = 260;

View File

@ -27,7 +27,7 @@ export default class ScoutSuiteRuleButton extends Component {
hideCallback={this.toggleModal} />
<div className="text-center" style={{'display': 'grid'}}>
<Button variant={'monkey-info'} size={'lg'} onClick={this.toggleModal}>
<FontAwesomeIcon icon={faList}/> ScoutSuite rules
<FontAwesomeIcon icon={faList}/> Rules
&nbsp;<RuleCountBadge count={this.props.scoutsuite_rules.length}/>
</Button>
</div>