Skip to content

Commit

Permalink
bug(md-select): change the arrow position to absolute (angular#3580)
Browse files Browse the repository at this point in the history
  • Loading branch information
jefersonestevo authored and mmalerba committed Mar 14, 2017
1 parent ef3aa65 commit 19c19c0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 19c19c0

Please sign in to comment.