Apply padding to Alert component.

This commit is contained in:
Kia Lam
2019-03-14 10:35:54 -04:00
parent 6bd5ee4201
commit 518ecee53e
2 changed files with 25 additions and 9 deletions

View File

@@ -45,10 +45,6 @@ const hiddenStyle = {
display: 'none',
};
const buttonGroupStyle = {
float: 'right',
};
const Detail = ({ label, value, url, customStyles }) => {
let detail = null;
if (value) {
@@ -335,7 +331,7 @@ class OrganizationAccessList extends React.Component {
action={<AlertActionCloseButton onClose={this.hideWarning} />}
>
{warningMsg}
<span style={buttonGroupStyle}>
<span className="awx-c-form-action-group">
<Button variant="danger" aria-label="confirm-delete" onClick={this.confirmDelete}>Delete</Button>
<Button variant="secondary" onClick={this.hideWarning}>Cancel</Button>
</span>