Skip to content

Commit 880b34c

Browse files
committed
Final fixes #4722
1 parent 290b41b commit 880b34c

File tree

5 files changed

+45
-24
lines changed

5 files changed

+45
-24
lines changed

__tests__/shared/components/Leaderboard/__snapshots__/LeaderboardTable.jsx.snap

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ exports[`Matches shallow shapshot 1`] = `
5656
>
5757
<a
5858
href="undefined/members/undefined/"
59+
style={
60+
Object {
61+
"color": null,
62+
}
63+
}
5964
target="_blank"
6065
/>
6166
<div
@@ -103,6 +108,11 @@ exports[`Matches shallow shapshot 1`] = `
103108
>
104109
<a
105110
href="undefined/members/undefined/"
111+
style={
112+
Object {
113+
"color": null,
114+
}
115+
}
106116
target="_blank"
107117
/>
108118
<div
@@ -150,6 +160,11 @@ exports[`Matches shallow shapshot 1`] = `
150160
>
151161
<a
152162
href="undefined/members/undefined/"
163+
style={
164+
Object {
165+
"color": null,
166+
}
167+
}
153168
target="_blank"
154169
/>
155170
<div
@@ -197,6 +212,11 @@ exports[`Matches shallow shapshot 1`] = `
197212
>
198213
<a
199214
href="undefined/members/undefined/"
215+
style={
216+
Object {
217+
"color": null,
218+
}
219+
}
200220
target="_blank"
201221
/>
202222
<div
Lines changed: 1 addition & 1 deletion
Loading

src/shared/components/Leaderboard/ChallengeHistoryModal/styles.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ $light-gray: #d4d4d4;
6363
img,
6464
svg {
6565
border-radius: 50%;
66-
border-style: solid;
67-
border-width: 3px;
6866
height: 100%;
6967
width: 100%;
7068
}

src/shared/components/Leaderboard/PodiumSpot/themes/tco20.scss

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,32 @@ $podium-border-color: #ededf2;
33

44
.PodiumSpot {
55
border-radius: 6px;
6-
padding: 23px 25px;
6+
padding: 23px 15px;
77
display: flex;
88
width: auto;
99

1010
.leaderboard-avatar {
1111
display: inline-block;
1212
position: relative;
1313
margin-bottom: 12px;
14-
margin-right: 20px;
14+
margin-right: 11px;
1515
overflow: visible;
1616
}
1717

1818
.ranking {
1919
@include roboto-black;
2020

2121
border-radius: 20px;
22-
padding: 4px 9px 3px;
23-
display: inline-block;
22+
display: flex;
23+
padding: 0;
24+
align-items: center;
25+
justify-content: center;
2426
position: absolute;
2527
right: 0;
2628
bottom: -10px;
2729
font-size: 15px;
28-
width: 30px;
29-
height: 30px;
30+
width: 28px;
31+
height: 28px;
3032
}
3133

3234
.winnings-info span {
@@ -93,13 +95,14 @@ $podium-border-color: #ededf2;
9395
.handle-link,
9496
a.profile-link {
9597
color: #0d61bf;
96-
font-family: Roboto, sans-serif;
97-
font-size: 20px;
98-
font-weight: 500;
98+
font-family: Barlow, sans-serif;
99+
font-size: 16px;
100+
font-weight: 600;
99101
line-height: 24px;
100102
text-align: left;
101103
text-decoration: underline;
102-
margin-bottom: 14px;
104+
margin-top: 11px;
105+
margin-bottom: 13px;
103106

104107
&:hover {
105108
text-decoration: none;
@@ -115,35 +118,35 @@ $podium-border-color: #ededf2;
115118
background-color: #f4f4f4;
116119

117120
.ranking {
118-
background-color: #ffd84c;
119-
color: #2a2a2a;
121+
background-color: #ffd84d;
122+
color: #fff;
120123
}
121124
}
122125

123126
.PodiumSpot--second {
124127
background-color: #f4f4f4;
125128

126129
.ranking {
127-
background-color: #716d66;
128-
color: #2a2a2a;
130+
background-color: #746b65;
131+
color: #fff;
129132
}
130133
}
131134

132135
.PodiumSpot--third {
133136
background-color: #f4f4f4;
134137

135138
.ranking {
136-
background-color: #844d29;
137-
color: #2a2a2a;
139+
background-color: #854e29;
140+
color: #fff;
138141
}
139142
}
140143

141144
.PodiumSpot--fourth {
142145
background-color: #f4f4f4;
143146

144147
.ranking {
145-
background-color: #844d29;
146-
color: #2a2a2a;
148+
background-color: #1e94a3;
149+
color: #fff;
147150
}
148151
}
149152

@@ -154,7 +157,7 @@ $podium-border-color: #ededf2;
154157
margin-top: 0;
155158

156159
.leaderboard-avatar {
157-
height: 110px;
158-
width: 110px;
160+
height: 79px;
161+
width: 79px;
159162
}
160163
}

src/shared/utils/tc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const RATING_COLORS = [{
112112
color: '#616BD5' /* Blue */,
113113
limit: 1500,
114114
}, {
115-
color: '#FCD617' /* Yellow */,
115+
color: '#F2C900' /* Yellow */,
116116
limit: 2200,
117117
}, {
118118
color: '#EF3A3A' /* Red */,

0 commit comments

Comments
 (0)