apply style directly to buttons (#39)

This commit is contained in:
Danny Skubak 2019-10-23 17:34:31 -04:00 committed by Daniel Ternyak
parent 5799ffab19
commit 85c21d4cbf
2 changed files with 8 additions and 5 deletions

View File

@ -26,11 +26,6 @@
.ant-alert,
.ant-collapse {
margin-bottom: 16px;
button {
margin-right: 0.5rem;
margin-bottom: 0.25rem;
}
}
&-popover {
@ -47,4 +42,9 @@
white-space: inherit;
}
}
&-review {
margin-right: 0.5rem;
margin-bottom: 0.25rem;
}
}

View File

@ -144,6 +144,7 @@ class ProposalDetailNaked extends React.Component<Props, State> {
<div>
<p>Please review this proposal and render your judgment.</p>
<Button
className="ProposalDetail-review"
loading={store.proposalDetailApproving}
icon="check"
type="primary"
@ -152,6 +153,7 @@ class ProposalDetailNaked extends React.Component<Props, State> {
Approve With Funding
</Button>
<Button
className="ProposalDetail-review"
loading={store.proposalDetailApproving}
icon="check"
type="default"
@ -160,6 +162,7 @@ class ProposalDetailNaked extends React.Component<Props, State> {
Approve Without Funding
</Button>
<Button
className="ProposalDetail-review"
loading={store.proposalDetailApproving}
icon="close"
type="danger"