Skip to content

Commit 719fcc5

Browse files
authored
Merge pull request #7 from AuScalableDroneCloud/matt/tracker-97
Fix margins on buttons
2 parents af3da74 + c72ce83 commit 719fcc5

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

public/Button.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
.icon{
22
margin-right: 0.5em;
33
}
4+
5+
//Apply margins to all buttons within the group
6+
.asdc-plugin-button-group {
7+
.btn {
8+
margin-right: 4px;
9+
margin-top: 4px;
10+
}
11+
}

public/OpenButton.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default class OpenButton extends Component {
7272
// <p>Task Status: {this.props.task.status}</p>
7373

7474
return (
75-
<Fragment>
75+
<div className="asdc-plugin-button-group">
7676
<DropdownButton
7777
id={"pipelinesDropdown"}
7878
bsStyle={"default"}
@@ -89,7 +89,7 @@ export default class OpenButton extends Component {
8989
bsSize={"small"}
9090
className={"pipeline-btn"}
9191
><i className={"fab fa-python"} /> Open notebook</Button>
92-
</Fragment>
92+
</div>
9393
);
9494
}
9595
}

0 commit comments

Comments
 (0)