Skip to content

Commit

Permalink
chore: make poem more visible on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
iamogbz committed Apr 30, 2024
1 parent 86aebdb commit 57de149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PoemCollection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function PoemCollection() {
const entryProps = { date, title };

React.useEffect(() => {
const poemTitleTopPx = 80;
const poemTitleTopPx = 140;
window.scrollTo({ top: poemTitleTopPx, behavior: "smooth" });
}, [title]);

Expand Down

0 comments on commit 57de149

Please sign in to comment.