Skip to content

Commit 6d11188

Browse files
authored
Merge branch 'main' into update-landing-909
2 parents 52c8479 + e0b5da1 commit 6d11188

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pages/Contact/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ const Contact = () => {
1111
{ href: '/', name: 'Home' },
1212
{ href: '/about/contact', name: 'Contact' },
1313
];
14-
14+
const handlePageHeight = () => {
15+
window.parent.scrollTo(0, 0);
16+
};
1517
return (
1618
<Box>
1719
<Box className='boxBackground'>
@@ -37,6 +39,7 @@ const Contact = () => {
3739
frameBorder='0'
3840
marginHeight='0'
3941
marginWidth='0'
42+
onLoad={handlePageHeight}
4043
>
4144
Loading…
4245
</CardMedia>

0 commit comments

Comments
 (0)