Commits
Tim Donohue authored and GitHub committed 1187edb4869 Merge
1 - | <div class="simple-view-element" [class.d-none]="content.textContent.trim().length === 0 && hasNoValue(content.querySelector('img'))"> |
1 + | <div class="simple-view-element" [class.d-none]="hideIfNoTextContent && content.textContent.trim().length === 0"> |
2 2 | <h5 class="simple-view-element-header" *ngIf="label">{{ label }}</h5> |
3 3 | <div #content class="simple-view-element-body"> |
4 4 | <ng-content></ng-content> |
5 5 | </div> |
6 6 | </div> |