Skip to content

Commit aaaf08e

Browse files
committed
Fixed max height bug
1 parent 19eecd4 commit aaaf08e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useIonicHeaderParallax.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export function useIonHeaderParallax({
147147
// .scroll-content
148148
if (scrollContent) {
149149
scrollContent.setAttribute('parallax', '')
150-
scrollContent.style.paddingTop = `250px`
150+
scrollContent.style.paddingTop = `${maximumHeight}px`
151151
}
152152

153153
if (scrollContent) {

0 commit comments

Comments
 (0)