diff --git a/core/src/components/content/content.scss b/core/src/components/content/content.scss index fcaec346ae..118a36d778 100644 --- a/core/src/components/content/content.scss +++ b/core/src/components/content/content.scss @@ -59,8 +59,12 @@ --background: #{$background-color-step-50}; } -#scroll-content { - min-height: 100%; +#background-content { + @include position(calc(var(--offset-top) * -1), 0px,calc(var(--offset-bottom) * -1), 0px); + + position: absolute; + + background: var(--background); } .inner-scroll { @@ -69,7 +73,6 @@ position: absolute; - background: var(--background); color: var(--color); box-sizing: border-box; @@ -124,7 +127,7 @@ } .transition-effect { - + display: none; position: absolute; diff --git a/core/src/components/content/content.tsx b/core/src/components/content/content.tsx index 30dd83d203..b7d7539de8 100644 --- a/core/src/components/content/content.tsx +++ b/core/src/components/content/content.tsx @@ -320,6 +320,7 @@ export class Content implements ComponentInterface { '--offset-bottom': `${this.cBottom}px`, }} > +