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
This commit is contained in:
Andrew Seguin
2017-07-28 12:56:02 -07:00
committed by GitHub
parent 11975e6e20
commit 846899db0e
+1 -3
View File
@@ -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>