From 6681beae4d6c4c61b887770bb4ac7cd26bd5bb88 Mon Sep 17 00:00:00 2001 From: summerscope Date: Thu, 10 Jul 2014 13:04:20 +1000 Subject: [PATCH 1/2] Fix spacing for shopfront page search box --- app/assets/stylesheets/darkswarm/big-input.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/darkswarm/big-input.sass b/app/assets/stylesheets/darkswarm/big-input.sass index 72769e80c6..70cb3bd4f9 100644 --- a/app/assets/stylesheets/darkswarm/big-input.sass +++ b/app/assets/stylesheets/darkswarm/big-input.sass @@ -38,7 +38,7 @@ @mixin big-input-static outline: 0 &:active, &:focus, &.active - padding: 0rem 0.5rem 0.2rem 0.5rem + padding: 0.75rem 1rem 0.35rem 1rem letter-spacing: 0 @mixin placeholder($placeholder, $placeholderhvr) From 932ca95ec5037e220dd02876347d3ef36166f40c Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Thu, 10 Jul 2014 12:59:59 +1000 Subject: [PATCH 2/2] Sorting hubs by active --- app/views/producers/_fat.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/producers/_fat.html.haml b/app/views/producers/_fat.html.haml index b1eb7196aa..86ed3ad7b7 100644 --- a/app/views/producers/_fat.html.haml +++ b/app/views/producers/_fat.html.haml @@ -26,7 +26,7 @@ %h5 Shop for {{ producer.name }} products at: .row .columns.small-12 - %a.button.hub{"ng-repeat" => "hub in producer.hubs", + %a.button.hub{"ng-repeat" => "hub in producer.hubs | orderBy:'-active'", "bo-href" => "hub.path", "ofn-empties-cart" => "hub", "bo-class" => "{primary: hub.active, secondary: !hub.active}"} %i.ofn-i_033-open-sign{"bo-if" => "hub.active"}