Skip to content

Commit

Permalink
Increase max scale of cover page text
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgraham committed Oct 20, 2024
1 parent ac468f1 commit de6d44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useElementScale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function useElementScale(
const [scale, setScale] = useState<number>(1);

useLayoutEffect(() => {
setScale(clamp((window.innerWidth * 0.8) / size.width, 1, 1.309));
setScale(clamp((window.innerWidth * 0.8) / size.width, 1, 1.4));
}, [size]);

return scale;
Expand Down

0 comments on commit de6d44a

Please sign in to comment.