Skip to content

Commit

Permalink
fix(list): :empty selector did not catch in mat-list-text (#6124)
Browse files Browse the repository at this point in the history
Since there was a whitespace character (newline) in the HTML, :empty never triggered in the CSS
  • Loading branch information
andrewseguin committed Jul 28, 2017
1 parent 11975e6 commit 846899d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/list/list-item.html
Expand Up @@ -9,9 +9,7 @@
[mdListAvatar], [mdListIcon], [matListAvatar], [matListIcon]">
</ng-content>

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

<ng-content></ng-content>
</div>

0 comments on commit 846899d

Please sign in to comment.