Page width varies on screen size

This commit is contained in:
Itay Mizeretz 2017-10-16 17:29:43 +03:00
parent 8675a7bb0b
commit b3d89937ba
8 changed files with 8 additions and 8 deletions

View File

@ -107,7 +107,7 @@ class ConfigurePageComponent extends React.Component {
} }
return ( return (
<Col xs={12}> <Col xs={12} lg={8}>
<h1 className="page-title">Monkey Configuration</h1> <h1 className="page-title">Monkey Configuration</h1>
<Nav bsStyle="tabs" justified <Nav bsStyle="tabs" justified
activeKey={this.state.selectedSection} onSelect={this.setSelectedSection} activeKey={this.state.selectedSection} onSelect={this.setSelectedSection}

View File

@ -162,7 +162,7 @@ class MapPageComponent extends React.Component {
return ( return (
<div> <div>
{this.renderKillDialogModal()} {this.renderKillDialogModal()}
<Col xs={12}> <Col xs={12} lg={8}>
<h1 className="page-title">Infection Map</h1> <h1 className="page-title">Infection Map</h1>
</Col> </Col>
<Col xs={12}> <Col xs={12}>

View File

@ -34,7 +34,7 @@ class ReadMePageComponent extends React.Component {
render() { render() {
return ( return (
<Col xs={12}> <Col xs={12} lg={8}>
<h1 className="page-title">Read Me</h1> <h1 className="page-title">Read Me</h1>
<Nav bsStyle="tabs" justified <Nav bsStyle="tabs" justified
activeKey={this.state.selectedSection} onSelect={this.setSelectedSection} activeKey={this.state.selectedSection} onSelect={this.setSelectedSection}

View File

@ -8,7 +8,7 @@ class ReportPageComponent extends React.Component {
render() { render() {
return ( return (
<Col xs={12}> <Col xs={12} lg={8}>
<h1 className="page-title">Penetration Test Report</h1> <h1 className="page-title">Penetration Test Report</h1>
<div style={{'fontSize': '1.5em'}}> <div style={{'fontSize': '1.5em'}}>
<p> <p>

View File

@ -121,7 +121,7 @@ class RunMonkeyPageComponent extends React.Component {
render() { render() {
return ( return (
<Col xs={12}> <Col xs={12} lg={8}>
<h1 className="page-title">Run the Monkey</h1> <h1 className="page-title">Run the Monkey</h1>
<p style={{'fontSize': '1.2em', 'marginBottom': '2em'}}> <p style={{'fontSize': '1.2em', 'marginBottom': '2em'}}>
You can run the monkey on the C&C server, on your local machine and basically everywhere. You can run the monkey on the C&C server, on your local machine and basically everywhere.

View File

@ -16,7 +16,7 @@ class RunServerPageComponent extends React.Component {
render() { render() {
return ( return (
<Col xs={12}> <Col xs={12} lg={8}>
<h1 className="page-title">Monkey Island C&C Server</h1> <h1 className="page-title">Monkey Island C&C Server</h1>
<div style={{'fontSize': '1.5em'}}> <div style={{'fontSize': '1.5em'}}>
<p>Your Monkey Island server is up and running on <b>{this.state.ip}</b> &#x1F44F; &#x1F44F;</p> <p>Your Monkey Island server is up and running on <b>{this.state.ip}</b> &#x1F44F; &#x1F44F;</p>

View File

@ -64,7 +64,7 @@ class StartOverPageComponent extends React.Component {
render() { render() {
return ( return (
<Col xs={12}> <Col xs={12} lg={8}>
{this.renderCleanDialogModal()} {this.renderCleanDialogModal()}
<h1 className="page-title">Start Over</h1> <h1 className="page-title">Start Over</h1>
<div style={{'fontSize': '1.2em'}}> <div style={{'fontSize': '1.2em'}}>

View File

@ -29,7 +29,7 @@ class TelemetryPageComponent extends React.Component {
render() { render() {
return ( return (
<Col xs={12}> <Col xs={12} lg={8}>
<h1 className="page-title">Monkey Telemetry</h1> <h1 className="page-title">Monkey Telemetry</h1>
<div className="data-table-container"> <div className="data-table-container">
<DataTable <DataTable