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 19
19
}
20
20
}
21
21
22
- .mat-select-border {
22
+ .mat-select-underline {
23
23
background-color : mat-color ($foreground , divider );
24
24
25
25
.mat-select :focus:not (.mat-select-disabled ) & {
Original file line number Diff line number Diff line change 5
5
< span class ="mat-select-value-text "> {{ selected?.viewValue }}</ span >
6
6
</ span >
7
7
< span class ="mat-select-arrow "> </ span >
8
- < span class ="mat-select-border "> </ span >
8
+ < span class ="mat-select-underline "> </ span >
9
9
</ div >
10
10
11
11
< 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;
19
19
20
20
.mat-select-trigger {
21
21
display : flex ;
22
- justify-content : space-between ;
23
22
align-items : center ;
24
23
height : $mat-select-trigger-height ;
25
24
min-width : $mat-select-trigger-min-width ;
@@ -34,7 +33,7 @@ $mat-select-trigger-font-size: 16px !default;
34
33
}
35
34
}
36
35
37
- .mat-select-border {
36
+ .mat-select-underline {
38
37
position : absolute ;
39
38
bottom : 0 ;
40
39
left : 0 ;
@@ -52,6 +51,7 @@ $mat-select-trigger-font-size: 16px !default;
52
51
position : relative ;
53
52
padding : 0 2px ;
54
53
transform-origin : left top ;
54
+ flex-grow : 1 ;
55
55
56
56
// These values are duplicated from animation code in order to
57
57
// allow placeholders to sometimes float without animating,
@@ -82,6 +82,7 @@ $mat-select-trigger-font-size: 16px !default;
82
82
.mat-select-value {
83
83
position : absolute ;
84
84
max-width : calc (100% - #{($mat-select-arrow-size + $mat-select-arrow-margin ) * 2 } );
85
+ flex-grow : 1 ;
85
86
86
87
// Firefox and some versions of IE incorrectly keep absolutely
87
88
// positioned children of flex containers in the flex flow when calculating
You can’t perform that action at this time.
0 commit comments