Skip to content
Snippets Groups Projects
Commit f8b994de authored by jojohoch's avatar jojohoch
Browse files

[player] Set display of dynamic section to 'table'

This allows to set the background color without limiting the content
parent 2e29081d
No related branches found
No related tags found
No related merge requests found
......@@ -2,19 +2,16 @@
detectionType="top"
[intersectionContainer]="pagesContainer"
(intersecting)="onIntersection()">
<div *ngFor="let section of page.sections; let i = index"
[style.overflow]="'hidden'"
[style.backgroundColor]="section.backgroundColor">
<app-section
<app-section *ngFor="let section of page.sections; let i = index"
class="section"
[style.display]="section.dynamicPositioning ? 'contents' : 'block'"
[style.display]="section.dynamicPositioning ? 'table' : 'block'"
[style.backgroundColor]="section.backgroundColor"
[style.minHeight]=" section.dynamicPositioning ? 'auto' : section.height + 'px'"
[pageIndex] = parentArrayIndex
[parentForm]="pageForm"
[parentArrayIndex]="i"
[section]="section">
</app-section>
</div>
</div>
<div appIntersectionDetection
detectionType="bottom"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment