Skip to content

Commit 1df0a50

Browse files
Merge pull request #3390 from OneCommunityGlobal/Deepthi-hotfix2
deepthi hotfix for 3345
2 parents c3746d3 + 974610e commit 1df0a50

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)