diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-02-22 16:46:33 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-02-22 16:46:33 -0500 |
commit | 8f5e1b9fb5d377778a0254869e2129a70c2cf7ec (patch) | |
tree | 94a175622e489ab1e38b649ef5a7e006ed23f221 | |
parent | 80fbb8af7ccdda727d19192e3bd61c61fd6dc782 (diff) | |
download | gitlab-ce-8f5e1b9fb5d377778a0254869e2129a70c2cf7ec.tar.gz |
Do not use calc and fix background spinner for high density displaysissue_11874
-rw-r--r-- | app/assets/stylesheets/framework/selects.scss | 8 |
1 files 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 **/ |