mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user