From 75e089f3a105771353f940f721404d891c2e2459 Mon Sep 17 00:00:00 2001 From: Rich Christiansen Date: Thu, 31 Jul 2014 10:10:34 -0600 Subject: [PATCH] Basic CSS gradient fix for choices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The “top” on the other styles (-moz-linear-gradient, -webkit-linear-gradient, etc) signifies “start at the top”. The equivalent basic “linear-gradient” style is “to bottom”, not “to top”. --- select2.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.css b/select2.css index e43fd401..f39cb21d 100644 --- a/select2.css +++ b/select2.css @@ -586,7 +586,7 @@ html[dir="rtl"] .select2-container-multi .select2-choices li background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee)); background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%); background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%); - background-image: linear-gradient(to top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%); + background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%); } html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice {