Skip to content

Commit

Permalink
Use css as spacing between qty and add to cart button.
Browse files Browse the repository at this point in the history
[Fixes spree#1253]
  • Loading branch information
JDutil authored and Trung Lê committed Mar 11, 2012
1 parent df32600 commit e1b714e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions core/app/assets/stylesheets/store/screen.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ mark {background-color: $link_text_color; color: $layout_background_color; font-
margin-top: 15px;

input[type="number"] {
margin-right: 3px;
width: 60px;
vertical-align: middle;
padding: 5px;
Expand Down
1 change: 0 additions & 1 deletion core/app/views/spree/products/_cart_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
<% if @product.has_stock? || Spree::Config[:allow_backorders] %>
<%= number_field_tag (@product.has_variants? ? :quantity : "variants[#{@product.master.id}]"),
1, :class => 'title', :in => 1..@product.on_hand %>
&nbsp;
<%= button_tag :class => 'large primary', :id => 'add-to-cart-button' do %>
<%= t(:add_to_cart) %>
<% end %>
Expand Down

0 comments on commit e1b714e

Please sign in to comment.