feat(background-position): add background position support for rtl (#11946)

* feat(background-position): add background position support for rtl

* fix(background-position): fix center

* refactor(background-position): make format more robust
This commit is contained in:
Amit Moryossef
2017-06-07 23:37:26 +03:00
committed by Brandy Carney
parent 9aedc9dc52
commit 305c306b14
11 changed files with 40 additions and 18 deletions

View File

@@ -154,6 +154,7 @@ input.text-input:-webkit-autofill {
.text-input-clear-icon {
@include margin(0);
@include padding(0);
@include background-position(center);
position: absolute;
top: 0;
@@ -162,7 +163,6 @@ input.text-input:-webkit-autofill {
height: 100%;
background-repeat: no-repeat;
background-position: center;
}
// TODO remove all uses of input-has-focus in v4