Center submit button

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>
pull/4068/head
Alex P 2018-07-31 13:38:22 -07:00
parent d00ad0f6e2
commit 047753142c
2 changed files with 18 additions and 3 deletions

View File

@ -60,3 +60,13 @@
padding-right: 0;
}
.dash-map--footer {
width: 100%;
display: flex;
justify-content: center;
margin-top: 30px;
}
.dash-map--submit {
width: 140px;
}

View File

@ -66,9 +66,14 @@ class ImportDashboardMappings extends Component<Props, State> {
<>
{this.description}
{this.table}
<button className="btn btn-sm btn-success" onClick={this.handleSubmit}>
Done
</button>
<div className="dash-map--footer">
<button
className="dash-map--submit btn btn-sm btn-success"
onClick={this.handleSubmit}
>
Done
</button>
</div>
</>
)
}