Skip to content

Commit e067131

Browse files
committed
fixes rating & mobile resp
1 parent 3629630 commit e067131

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/shared/actions/mmLeaderboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ async function getMMLeaderboardDone(id) {
4040
rank: i + 1,
4141
score: r.score % 1 ? Number(r.score).toFixed(5) : r.score,
4242
}));
43-
// Fetch member photos for top 3
43+
// Fetch member photos anr rating for all
4444
const results = await Promise.all(
45-
_.take(data, 3).map(d => fetch(`${config.API.V5}/members/${d.createdBy}`)),
45+
data.map(d => fetch(`${config.API.V5}/members/${d.createdBy}`)),
4646
);
4747
const memberData = await Promise.all(results.map(r => r.json()));
4848
// merge with data

src/shared/components/MMatchLeaderboard/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ $light-gray: #d4d4d4;
245245

246246
@media screen and (max-width: 768px) {
247247
margin-bottom: 0;
248+
flex-direction: column;
248249
}
249250

250251
.followersLeft,

0 commit comments

Comments
 (0)