Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshsmith authored and begedin committed Nov 10, 2016
1 parent 33dece0 commit 5f5acc5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions app/styles/components/donation-payment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,11 @@
margin-bottom: 15px;
}
}

select.month {
min-width: 50px;
}

select.year {
min-width: 70px;
}
8 changes: 4 additions & 4 deletions app/templates/components/donation/credit-card.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@
<div class="input-group">
<div class="row">
<label>
<span>Expiration date</span>
<select onchange={{action (mut month) value="target.value"}}>
<span>Expiration</span>
<select class="month" onchange={{action (mut month) value="target.value"}}>
{{#each months as |monthChoice|}}
<option value={{monthChoice}} selected={{eq month monthChoice}}>{{monthChoice}}</option>
{{/each}}
</select>
<select onchange={{action (mut year) value="target.value"}}>
<select class="year" onchange={{action (mut year) value="target.value"}}>
{{#each years as |yearChoice|}}
<option value={{yearChoice}} selected={{eq year yearChoice}}>{{yearChoice}}</option>
{{/each}}
</select>
</label>

<label>
<span>CVC</span>
<span>Security code</span>
{{input
type="text"
value=cvc
Expand Down

0 comments on commit 5f5acc5

Please sign in to comment.