Skip to content

Commit

Permalink
fix: material theme RTL transform-origin #1476 (#1546)
Browse files Browse the repository at this point in the history
  • Loading branch information
vltansky committed Jul 1, 2020
1 parent 0fed861 commit 8d615b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ng-select/themes/material.theme.scss
Expand Up @@ -110,8 +110,11 @@ $ng-select-bg: #ffffff !default;
.ng-placeholder {
position: absolute;
color: $ng-select-secondary-text;
transform-origin: 0 0;
transform-origin: left 0;
transition: transform .4s cubic-bezier(.25, .8, .25, 1), color .4s cubic-bezier(.25, .8, .25, 1), width .4s cubic-bezier(.25, .8, .25, 1);
@include rtl {
transform-origin: right 0;
}
}
.ng-input {
bottom: .4375em;
Expand Down

0 comments on commit 8d615b4

Please sign in to comment.