Skip to content

Commit 8edd563

Browse files
Merge pull request #5253 from topcoder-platform/hall-of-fame-fixes
Hall of fame fixes
2 parents 9e8483e + a47b1ad commit 8edd563

File tree

5 files changed

+24
-8
lines changed

5 files changed

+24
-8
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ workflows:
237237
filters:
238238
branches:
239239
only:
240-
- free
240+
- hall-of-fame-fixes
241241
# This is alternate dev env for parallel testing
242242
- "build-qa":
243243
context : org-global

src/shared/components/HallOfFamePage/Finalists/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ function findTheme(track) {
3434
case 'DEVELOPMENT':
3535
case 'FIRST2FINISH':
3636
case 'MOD DASH':
37+
case 'QA':
3738
return developmentAndFirst2finishTheme;
3839
case 'STUDIO':
3940
case 'UI DESIGN':

src/shared/components/HallOfFamePage/FunFacts/styles.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import "~styles/mixins";
22

33
.container {
4-
align-items: center;
4+
align-items: stretch;
55
display: flex;
66
justify-content: space-between;
77

@@ -15,7 +15,6 @@
1515
.fact {
1616
background-color: #fff;
1717
border-radius: 4px;
18-
height: 330px;
1918
width: 360px;
2019

2120
@include xs-to-lg {
@@ -48,10 +47,10 @@
4847
border-top: solid 4px #5cc900;
4948
color: #000;
5049
font-size: 15px;
51-
height: 150px;
5250
line-height: 25px;
5351
padding: 15px;
5452
text-align: left;
53+
margin-top: -3px;
5554

5655
a,
5756
a:visited {

src/shared/components/HallOfFamePage/HoF.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ const HallOfFamePage = ({ eventId, hallOfFame }) => {
243243
{
244244
data.fields.spiritAwardWinners && (
245245
<div styleName="spirit-awards">
246-
<h3>Spirit Award</h3>
246+
<h3>SPIRIT AWARD WINNER</h3>
247247
<div styleName="spirit-awards-wrap">
248248
{
249249
_.map(

src/shared/components/HallOfFamePage/styles.scss

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@
179179

180180
img {
181181
min-height: 375px;
182+
max-height: 100%;
182183
width: 100%;
183184
}
184185

@@ -253,6 +254,7 @@
253254
margin: 0;
254255
padding: 0;
255256
width: 127px;
257+
white-space: nowrap;
256258
}
257259

258260
margin: 7px;
@@ -374,13 +376,23 @@
374376
}
375377

376378
.spirit-awards {
377-
margin-top: 50px;
379+
margin: 40px auto 60px auto;
378380
display: flex;
379381
flex-direction: column;
380-
align-items: center;
382+
border: 1px solid #e2c6f3;
383+
border-radius: 4px;
384+
width: 173px;
381385

382386
h3 {
383-
margin-bottom: 20px;
387+
margin: 0;
388+
background-color: #914da5;
389+
border-radius: 4px 4px 0 0;
390+
color: #fff;
391+
font-family: Roboto, sans-serif;
392+
font-size: 13px;
393+
line-height: 30px;
394+
text-align: center;
395+
font-weight: bold;
384396
}
385397

386398
.spirit-awards-wrap {
@@ -390,5 +402,9 @@
390402
a {
391403
font-size: 16px;
392404
}
405+
406+
p {
407+
margin: 0;
408+
}
393409
}
394410
}

0 commit comments

Comments
 (0)