mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
bug(md-select): change the arrow position to absolute (#3580)
Fixes #3112
This commit is contained in:
committed by
mmalerba
parent
ef3aa65395
commit
19c19c080b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user