Skip to content

Commit b987e70

Browse files
authored
Merge pull request #117 from topcoder-platform/PROD-2326_completed-steps
PROD-2326 completed steps styles -> Dev
2 parents ed0455e + bbbe547 commit b987e70

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

src/components/ProgressPopup/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const ProgressPopup = ({
7070
role="tab"
7171
tabIndex={0}
7272
>
73-
<div className={cn(styles["level-check-icon"], getLevelClass(level))}>
73+
<div className={cn(styles["level-check-icon"], styles[getLevelClass(level)])}>
7474
{getLevelClass(level) === "done" && (
7575
<IconCheck className={styles["icon-check"]} />
7676
)}

src/components/ProgressPopup/styles.module.scss

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,33 +19,33 @@
1919
&.current {
2020
cursor: pointer;
2121
}
22-
}
23-
24-
.level-check-icon {
25-
width: 24px;
26-
height: 24px;
27-
background: #f4f4f4;
28-
border-radius: 50%;
29-
margin-right: 10px;
30-
31-
&.done {
32-
background: #06d6a0;
33-
display: flex;
34-
align-items: center;
35-
justify-content: center;
36-
37-
.icon-check {
38-
height: 14px;
3922

40-
* {
41-
fill: #ffffff;
23+
.level-check-icon {
24+
width: 24px;
25+
height: 24px;
26+
background: #f4f4f4;
27+
border-radius: 50%;
28+
margin-right: 10px;
29+
30+
&.done {
31+
background: #06d6a0;
32+
display: flex;
33+
align-items: center;
34+
justify-content: center;
35+
36+
.icon-check {
37+
height: 14px;
38+
39+
* {
40+
fill: #ffffff;
41+
}
4242
}
4343
}
44-
}
45-
46-
&.current {
47-
border: 2px solid #06d6a0;
48-
background: #ffffff;
44+
45+
&.current {
46+
border: 2px solid #06d6a0;
47+
background: #ffffff;
48+
}
4949
}
5050
}
5151

0 commit comments

Comments
 (0)