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 @@ -16,7 +16,6 @@ $mat-select-panel-max-height: 256px !default;
16
16
17
17
.mat-select-trigger {
18
18
display : flex ;
19
- justify-content : space-between ;
20
19
align-items : center ;
21
20
height : $mat-select-trigger-height ;
22
21
min-width : $mat-select-trigger-min-width ;
@@ -29,7 +28,7 @@ $mat-select-panel-max-height: 256px !default;
29
28
}
30
29
}
31
30
32
- .mat-select-border {
31
+ .mat-select-underline {
33
32
position : absolute ;
34
33
bottom : 0 ;
35
34
left : 0 ;
@@ -47,6 +46,7 @@ $mat-select-panel-max-height: 256px !default;
47
46
position : relative ;
48
47
padding : 0 2px ;
49
48
transform-origin : left top ;
49
+ flex-grow : 1 ;
50
50
51
51
// These values are duplicated from animation code in order to
52
52
// allow placeholders to sometimes float without animating,
@@ -77,6 +77,7 @@ $mat-select-panel-max-height: 256px !default;
77
77
.mat-select-value {
78
78
position : absolute ;
79
79
max-width : calc (100% - #{($mat-select-arrow-size + $mat-select-arrow-margin ) * 2 } );
80
+ flex-grow : 1 ;
80
81
81
82
// Firefox and some versions of IE incorrectly keep absolutely
82
83
// positioned children of flex containers in the flex flow when calculating
You can’t perform that action at this time.
0 commit comments