From 8f5e1b9fb5d377778a0254869e2129a70c2cf7ec Mon Sep 17 00:00:00 2001 From: Alfredo Sumaran Date: Mon, 22 Feb 2016 16:46:33 -0500 Subject: Do not use calc and fix background spinner for high density displays --- app/assets/stylesheets/framework/selects.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/framework/selects.scss b/app/assets/stylesheets/framework/selects.scss index 3d265879100..7bf04e4ad74 100644 --- a/app/assets/stylesheets/framework/selects.scss +++ b/app/assets/stylesheets/framework/selects.scss @@ -151,7 +151,7 @@ padding: 2px 25px 2px 5px; background: #fff image-url('select2.png'); background-repeat: no-repeat; - background-position: calc(100% - 3px) -23px; + background-position: right 0px bottom 6px; border: 1px solid $input-border; @include border-radius($border-radius-default); @include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s); @@ -162,9 +162,11 @@ } .select2-search input.select2-active { - background: #fff image-url('select2-spinner.gif'); + background-color: #fff; + background-image: image-url('select2-spinner.gif') !important; background-repeat: no-repeat; - background-position: calc(100% - 5px) 4px; + background-position: right 5px center !important; + background-size: 16px 16px !important; } /** Branch/tag selector **/ -- cgit v1.2.1