fix(content): resolve height inheritance issues (#20309)

fixes #20305
This commit is contained in:
Liam DeBeasi
2020-01-27 13:00:10 -05:00
committed by GitHub
parent 00340885fb
commit 09bef71ccd
3 changed files with 10 additions and 8 deletions

View File

@ -320,6 +320,7 @@ export class Content implements ComponentInterface {
'--offset-bottom': `${this.cBottom}px`,
}}
>
<div id="background-content"></div>
<main
class={{
'inner-scroll': true,
@ -330,9 +331,7 @@ export class Content implements ComponentInterface {
ref={el => this.scrollEl = el!}
onScroll={ev => this.onScroll(ev)}
>
<div id="scroll-content">
<slot></slot>
</div>
<slot></slot>
</main>
{transitionShadow ? (