Skip to content

Commit 846899d

Browse files
authored
fix(list): :empty selector did not catch in mat-list-text (#6124)
Since there was a whitespace character (newline) in the HTML, :empty never triggered in the CSS
1 parent 11975e6 commit 846899d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib/list/list-item.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
[mdListAvatar], [mdListIcon], [matListAvatar], [matListIcon]">
1010
</ng-content>
1111

12-
<div class="mat-list-text">
13-
<ng-content select="[md-line], [mat-line], [mdLine], [matLine]"></ng-content>
14-
</div>
12+
<div class="mat-list-text"><ng-content select="[md-line], [mat-line], [mdLine], [matLine]"></ng-content></div>
1513

1614
<ng-content></ng-content>
1715
</div>

0 commit comments

Comments
 (0)