File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1919 }
2020 }
2121
22- .mat-select-border {
22+ .mat-select-underline {
2323 background-color : mat-color ($foreground , divider );
2424
2525 .mat-select :focus:not (.mat-select-disabled ) & {
Original file line number Diff line number Diff line change 55 < span class ="mat-select-value-text "> {{ selected?.viewValue }}</ span >
66 </ span >
77 < span class ="mat-select-arrow "> </ span >
8- < span class ="mat-select-border "> </ span >
8+ < span class ="mat-select-underline "> </ span >
99</ div >
1010
1111< template cdk-connected-overlay [origin] ="origin " [open] ="panelOpen " hasBackdrop (backdropClick) ="close() "
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ $mat-select-trigger-font-size: 16px !default;
1919
2020.mat-select-trigger {
2121 display : flex ;
22- justify-content : space-between ;
2322 align-items : center ;
2423 height : $mat-select-trigger-height ;
2524 min-width : $mat-select-trigger-min-width ;
@@ -34,7 +33,7 @@ $mat-select-trigger-font-size: 16px !default;
3433 }
3534}
3635
37- .mat-select-border {
36+ .mat-select-underline {
3837 position : absolute ;
3938 bottom : 0 ;
4039 left : 0 ;
@@ -52,6 +51,7 @@ $mat-select-trigger-font-size: 16px !default;
5251 position : relative ;
5352 padding : 0 2px ;
5453 transform-origin : left top ;
54+ flex-grow : 1 ;
5555
5656 // These values are duplicated from animation code in order to
5757 // allow placeholders to sometimes float without animating,
@@ -82,6 +82,7 @@ $mat-select-trigger-font-size: 16px !default;
8282.mat-select-value {
8383 position : absolute ;
8484 max-width : calc (100% - #{($mat-select-arrow-size + $mat-select-arrow-margin ) * 2 } );
85+ flex-grow : 1 ;
8586
8687 // Firefox and some versions of IE incorrectly keep absolutely
8788 // positioned children of flex containers in the flex flow when calculating
You can’t perform that action at this time.
0 commit comments