diff --git a/app/assets/stylesheets/store/openfoodweb.css.scss b/app/assets/stylesheets/store/openfoodweb.css.scss index bf08508f82..3daef60040 100644 --- a/app/assets/stylesheets/store/openfoodweb.css.scss +++ b/app/assets/stylesheets/store/openfoodweb.css.scss @@ -48,7 +48,7 @@ nav#filters { .filter_choices { padding-left: 20px; - margin-bottom: 20px; + margin-bottom: 5px; list-style: disc outside; li { @@ -60,6 +60,10 @@ nav#filters { } } } + + input[type=submit] { + margin-bottom: 15px; + } } diff --git a/app/views/spree/products/_source_sidebar.html.haml b/app/views/spree/products/_source_sidebar.html.haml index 8f36430536..9f49ebe8e9 100644 --- a/app/views/spree/products/_source_sidebar.html.haml +++ b/app/views/spree/products/_source_sidebar.html.haml @@ -16,7 +16,7 @@ - distributors_more = @total_distributors - @sidebar_distributors.count %span.filter_more = "#{distributors_more} more..." - = button_to 'Browse All Distributors', main_app.distributors_enterprises_path, :method => :get, :style => "margin-top: -15px; margin-bottom: 15px;" + = button_to 'Browse All Distributors', main_app.distributors_enterprises_path, :method => :get %div#supplier_filter %h6.filter_name Shop by Supplier @@ -27,4 +27,4 @@ - suppliers_more = @total_suppliers - @sidebar_suppliers.count %span.filter_more = "#{suppliers_more} more..." - = button_to 'Browse All Suppliers', main_app.suppliers_enterprises_path, :method => :get, :style => "margin-top: -15px; margin-bottom: 15px;" + = button_to 'Browse All Suppliers', main_app.suppliers_enterprises_path, :method => :get