File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,16 @@ $mat-dense-list-icon-size: 20px;
33
33
// Prevents the wrapper `mat-list-item-content` from collapsing due to it
34
34
// being `inline` by default.
35
35
display : block ;
36
+ height : $base-height ;
36
37
37
38
.mat-list-item-content {
38
39
display : flex ;
39
40
flex-direction : row ;
40
41
align-items : center ;
41
42
box-sizing : border-box ;
42
- height : $base-height ;
43
43
padding : 0 $mat-list-side-padding ;
44
44
position : relative ;
45
+ height : inherit ;
45
46
}
46
47
47
48
.mat-list-item-content-reverse {
@@ -61,22 +62,22 @@ $mat-dense-list-icon-size: 20px;
61
62
pointer-events : none ;
62
63
}
63
64
64
- & .mat-list-item-avatar .mat-list-item-content {
65
+ & .mat-list-item-avatar {
65
66
height : $avatar-height ;
66
67
}
67
68
68
- & .mat-2-line .mat-list-item-content {
69
+ & .mat-2-line {
69
70
height : $two-line-height ;
70
71
}
71
72
72
73
73
- & .mat-3-line .mat-list-item-content {
74
+ & .mat-3-line {
74
75
height : $three-line-height ;
75
76
}
76
77
77
78
// list items with more than 3 lines should expand to match
78
79
// the height of its contained text
79
- & .mat-multi-line .mat-list-item-content {
80
+ & .mat-multi-line {
80
81
height : 100% ;
81
82
padding : 8px $mat-list-side-padding ;
82
83
}
You can’t perform that action at this time.
0 commit comments