bug(md-select): change the arrow position to absolute (#3580)

Fixes #3112
This commit is contained in:
Jeferson Estevo
2017-03-14 14:14:06 -03:00
committed by mmalerba
parent ef3aa65395
commit 19c19c080b
+8
View File
@@ -111,14 +111,22 @@ $mat-select-trigger-font-size: 16px !default;
}
.mat-select-arrow {
position: absolute;
right: 0;
width: 0;
height: 0;
border-left: $mat-select-arrow-size solid transparent;
border-right: $mat-select-arrow-size solid transparent;
border-top: $mat-select-arrow-size solid;
margin: 0 $mat-select-arrow-margin;
[dir='rtl'] & {
right: auto;
left: 0;
}
}
.mat-select-panel {
@include mat-menu-base();
padding-top: 0;