From bf98da62cd1d8e9b986c584429b1ef72456efd7a Mon Sep 17 00:00:00 2001 From: Tristan Mugford Date: Wed, 5 Mar 2014 10:22:56 +0000 Subject: [PATCH] Fixed issue #4588. Background position on select does not now rely on using offsets i.e. the four value syntax. --- scss/foundation/components/_forms.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/foundation/components/_forms.scss b/scss/foundation/components/_forms.scss index cd813113b..99f10f543 100644 --- a/scss/foundation/components/_forms.scss +++ b/scss/foundation/components/_forms.scss @@ -331,7 +331,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default; background-color: $select-bg-color; background-image: url('data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iM3B4IiB2aWV3Qm94PSIwIDAgNiAzIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA2IDMiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwb2x5Z29uIHBvaW50cz0iNS45OTIsMCAyLjk5MiwzIC0wLjAwOCwwICIvPjwvc3ZnPg=='); background-repeat: no-repeat; - background-position: center $opposite-direction 3%; + background-position: if($text-direction == 'rtl', 3%, 97%) center; border: $input-border-width $input-border-style $input-border-color; padding: $form-spacing / 2; font-size: $input-font-size; -- 2.47.2