(feat) New vote types. - Generic buttons.

This commit is contained in:
Gabriel Rodriguez Alsina 2018-08-13 15:15:17 -03:00
parent b8ed69c639
commit 60f80a4ba1
3 changed files with 4 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -71,8 +71,7 @@
&-label-right {
margin-left: auto !important;
}
&_no,
&_yes {
&_btn {
line-height: 44px;
min-width: 55px;
text-transform: capitalize;

View File

@ -446,7 +446,7 @@ export class BallotCard extends React.Component {
<button
type="button"
onClick={e => this.vote({ choice: REJECT })}
className="btn btn-danger ballots-i--vote_no"
className="btn btn-danger ballots-i--vote_no ballots-i--vote_btn"
>
No
</button>
@ -470,7 +470,7 @@ export class BallotCard extends React.Component {
</div>
</div>
<button
className="btn btn-success ballots-i--vote_yes"
className="btn btn-success ballots-i--vote_yes ballots-i--vote_btn"
onClick={e => this.vote({ choice: ACCEPT })}
type="button"
>