From 91b9479986128c2da271f5d6d5949359b0b766d8 Mon Sep 17 00:00:00 2001 From: Neil Lalonde <neillalonde@gmail.com> Date: Fri, 5 Apr 2013 14:39:03 -0400 Subject: [PATCH] Hide search icon in category selector when there are few categories --- app/assets/stylesheets/vendor/chosen.css.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/stylesheets/vendor/chosen.css.erb b/app/assets/stylesheets/vendor/chosen.css.erb index b7481a22d..b12d1ba00 100644 --- a/app/assets/stylesheets/vendor/chosen.css.erb +++ b/app/assets/stylesheets/vendor/chosen.css.erb @@ -111,6 +111,9 @@ z-index: 3; color: #888; } +.chzn-container-single-nosearch .chzn-search .chzn-search-icon { + display: none; +} .chzn-container-single .chzn-search input { background: #fff; background: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));