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 @@ -16,7 +16,6 @@ $mat-select-panel-max-height: 256px !default;
1616
1717.mat-select-trigger {
1818 display : flex ;
19- justify-content : space-between ;
2019 align-items : center ;
2120 height : $mat-select-trigger-height ;
2221 min-width : $mat-select-trigger-min-width ;
@@ -29,7 +28,7 @@ $mat-select-panel-max-height: 256px !default;
2928 }
3029}
3130
32- .mat-select-border {
31+ .mat-select-underline {
3332 position : absolute ;
3433 bottom : 0 ;
3534 left : 0 ;
@@ -47,6 +46,7 @@ $mat-select-panel-max-height: 256px !default;
4746 position : relative ;
4847 padding : 0 2px ;
4948 transform-origin : left top ;
49+ flex-grow : 1 ;
5050
5151 // These values are duplicated from animation code in order to
5252 // allow placeholders to sometimes float without animating,
@@ -77,6 +77,7 @@ $mat-select-panel-max-height: 256px !default;
7777.mat-select-value {
7878 position : absolute ;
7979 max-width : calc (100% - #{($mat-select-arrow-size + $mat-select-arrow-margin ) * 2 } );
80+ flex-grow : 1 ;
8081
8182 // Firefox and some versions of IE incorrectly keep absolutely
8283 // positioned children of flex containers in the flex flow when calculating
You can’t perform that action at this time.
0 commit comments