{/*Component Configurations table*/}
@@ -310,6 +319,8 @@ class ConfigTable extends Component {
icon='plus'
disabled={this.props.locked}
hidetooltip={this.props.locked}
+ buttonStyle={buttonStyle}
+ iconStyle={iconStyle}
/>
diff --git a/src/dashboard/dashboard-button-group.js b/src/dashboard/dashboard-button-group.js
index 6f9843a..ddacfa0 100644
--- a/src/dashboard/dashboard-button-group.js
+++ b/src/dashboard/dashboard-button-group.js
@@ -64,7 +64,7 @@ class DashboardButtonGroup extends React.Component {
render() {
const buttons = [];
- key = 0;
+ buttonkey = 0;
if (this.props.editing) {
buttons.push(this.getBtn("save", "Save changes", this.props.onSave));
diff --git a/src/dashboard/dashboard-table.js b/src/dashboard/dashboard-table.js
index 9c76270..589366b 100644
--- a/src/dashboard/dashboard-table.js
+++ b/src/dashboard/dashboard-table.js
@@ -137,6 +137,14 @@ class DashboardTable extends Component {
}
render() {
+ const buttonStyle = {
+ marginLeft: '10px',
+ }
+
+ const iconStyle = {
+ height: '30px',
+ width: '30px'
+ }
return (
@@ -150,6 +158,8 @@ class DashboardTable extends Component {
icon='plus'
disabled={this.props.locked}
hidetooltip={this.props.locked}
+ buttonStyle={buttonStyle}
+ iconStyle={iconStyle}
/>
diff --git a/src/dashboard/dashboard.js b/src/dashboard/dashboard.js
index 9462bad..2d1aa75 100644
--- a/src/dashboard/dashboard.js
+++ b/src/dashboard/dashboard.js
@@ -487,6 +487,15 @@ class Dashboard extends Component {
return
{"Loading Dashboard..."}
}
+ const buttonStyle = {
+ marginLeft: '10px',
+ }
+
+ const iconStyle = {
+ height: '25px',
+ width: '25px'
+ }
+
const grid = this.state.dashboard.grid;
const boxClasses = classNames('section', 'box', { 'fullscreen-padding': this.props.isFullscreen });
let draggable = this.state.editing;
@@ -505,6 +514,8 @@ class Dashboard extends Component {
tooltipChecked='Dashboard is locked, cannot be edited'
tooltipUnchecked='Dashboard is unlocked, can be edited'
disabled={true}
+ buttonStyle={buttonStyle}
+ iconStyle={iconStyle}
/>
diff --git a/src/result/result-table.js b/src/result/result-table.js
index 9001b59..a38d160 100644
--- a/src/result/result-table.js
+++ b/src/result/result-table.js
@@ -154,6 +154,14 @@ class ResultTable extends Component {
}
render() {
+ const buttonStyle = {
+ marginLeft: '10px',
+ }
+
+ const iconStyle = {
+ height: '30px',
+ width: '30px'
+ }
return (
@@ -167,6 +175,8 @@ class ResultTable extends Component {
icon='plus'
disabled={this.props.locked}
hidetooltip={this.props.locked}
+ buttonStyle={buttonStyle}
+ iconStyle={iconStyle}
/>
diff --git a/src/scenario/scenario.js b/src/scenario/scenario.js
index d9d76d7..f19a01b 100644
--- a/src/scenario/scenario.js
+++ b/src/scenario/scenario.js
@@ -133,6 +133,14 @@ class Scenario extends React.Component {
############################################## */
render() {
+ const buttonStyle = {
+ marginLeft: '10px',
+ }
+
+ const iconStyle = {
+ height: '30px',
+ width: '30px'
+ }
const tableHeadingStyle = {
paddingTop: '30px'
@@ -151,6 +159,8 @@ class Scenario extends React.Component {
tooltip={tooltip}
onClick={this.onEditFiles.bind(this)}
icon="file"
+ buttonStyle={buttonStyle}
+ iconStyle={iconStyle}
/>
@@ -165,6 +175,8 @@ class Scenario extends React.Component {
tooltipChecked='Scenario is locked, cannot be edited'
tooltipUnchecked='Scenario is unlocked, can be edited'
disabled={this.state.currentUser.role !== "Admin"}
+ buttonStyle={buttonStyle}
+ iconStyle={iconStyle}
/>
diff --git a/src/scenario/scenarios.js b/src/scenario/scenarios.js
index 7f9c45b..89b52d9 100644
--- a/src/scenario/scenarios.js
+++ b/src/scenario/scenarios.js
@@ -244,6 +244,15 @@ class Scenarios extends Component {
}
render() {
+ const buttonStyle = {
+ marginLeft: '10px',
+ }
+
+ const iconStyle = {
+ height: '30px',
+ width: '30px'
+ }
+
return
Scenarios
@@ -252,12 +261,16 @@ class Scenarios extends Component {
tooltip='Add Scenario'
onClick={() => this.setState({ newModal: true })}
icon='plus'
+ buttonStyle={buttonStyle}
+ iconStyle={iconStyle}
/>
this.setState({ importModal: true })}
icon='upload'
+ buttonStyle={buttonStyle}
+ iconStyle={iconStyle}
/>