Skip to content

Commit 974610e

Browse files
committed
hotfix for 3345
1 parent c98b8ca commit 974610e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/LeaderBoard/Leaderboard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function LeaderBoard({
150150

151151
useEffect(() => {
152152
const checkAbbreviatedView = () => {
153-
const isAbbrev = window.innerWidth < 1024;
153+
const isAbbrev = window.innerWidth < window.screen.width * 0.75;
154154
setIsAbbreviatedView(isAbbrev);
155155
};
156156

0 commit comments

Comments
 (0)