diff --git a/app/assets/javascripts/templates/shipping_type_selector.html.haml b/app/assets/javascripts/templates/shipping_type_selector.html.haml index cdbe702f32..8feb23e59f 100644 --- a/app/assets/javascripts/templates/shipping_type_selector.html.haml +++ b/app/assets/javascripts/templates/shipping_type_selector.html.haml @@ -1,4 +1,3 @@ -%ul.small-block-grid-2.large-block-grid-1 - %active-selector{"ng-repeat" => "(name, selector) in selectors"} - %i{"ng-class" => "selector.icon"} - {{ name | capitalize }} +%active-selector{"ng-repeat" => "(name, selector) in selectors"} + %i{"ng-class" => "selector.icon"} + {{ name | capitalize }} diff --git a/app/assets/javascripts/templates/taxon_selector.html.haml b/app/assets/javascripts/templates/taxon_selector.html.haml index dd40453e3f..02450c8d12 100644 --- a/app/assets/javascripts/templates/taxon_selector.html.haml +++ b/app/assets/javascripts/templates/taxon_selector.html.haml @@ -1,4 +1,3 @@ -%ul.small-block-grid-2.large-block-grid-5 - %active-selector{"ng-repeat" => "selector in selectors()"} - %render-svg{path: "{{selector.taxon.icon}}"} - %span {{ selector.taxon.name }} +%active-selector{"ng-repeat" => "selector in selectors()"} + %render-svg{path: "{{selector.taxon.icon}}"} + %span {{ selector.taxon.name }} diff --git a/app/views/home/_filters.html.haml b/app/views/home/_filters.html.haml index ab98389e82..19976cbe34 100644 --- a/app/views/home/_filters.html.haml +++ b/app/views/home/_filters.html.haml @@ -7,13 +7,15 @@ %h5.tdhead .light Filter by Type - %taxon-selector{objects: "hubs | hubs:query", - results: "activeTaxons"} + %ul.small-block-grid-2.large-block-grid-5 + %taxon-selector{objects: "hubs | hubs:query", + results: "activeTaxons"} .small-12.large-3.columns %h5.tdhead .light Filter by Delivery - %shipping-type-selector{results: "shippingTypes"} + %ul.small-block-grid-2.large-block-grid-1 + %shipping-type-selector{results: "shippingTypes"} .row.filter-box.animate-show{"ng-show" => "filtersActive && totalActive() > 0"} .small-12.columns %a.button.secondary.small.expand{"ng-click" => "clearAll()"} diff --git a/app/views/producers/_filters.html.haml b/app/views/producers/_filters.html.haml index 2419e0478d..a0667a4373 100644 --- a/app/views/producers/_filters.html.haml +++ b/app/views/producers/_filters.html.haml @@ -7,8 +7,9 @@ %h5.tdhead .light Filter by Type - %taxon-selector{objects: "Producers.visible | filterProducers:query", - results: "activeTaxons"} + %ul.small-block-grid-2.large-block-grid-5 + %taxon-selector{objects: "Producers.visible | filterProducers:query", + results: "activeTaxons"} .row.filter-box.animate-show{"ng-show" => "filtersActive && totalActive() > 0"} .small-12.columns