Skip to content

Commit

Permalink
Scroll to top of registration
Browse files Browse the repository at this point in the history
  • Loading branch information
DerCed committed Feb 15, 2024
1 parent 70fad36 commit 55dbb31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LandingImage/LandingImage2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function LandingImage2() {
height: "3.5rem",
fontSize: "1rem",
}}
onClick={() => document.getElementById("signupForm").scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest" })}
onClick={() => document.getElementById("signupForm").scrollIntoView({ behavior: "smooth", block: "start", inline: "nearest" })}
>
SignUp
</Button>
Expand Down

0 comments on commit 55dbb31

Please sign in to comment.