Skip to content

Commit 75e089f

Browse files
committed
Basic CSS gradient fix for choices
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”.
1 parent 7c1acdb commit 75e089f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ html[dir="rtl"] .select2-container-multi .select2-choices li
586586
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));
587587
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
588588
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
589-
background-image: linear-gradient(to top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
589+
background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
590590
}
591591
html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
592592
{

0 commit comments

Comments
 (0)