Skip to content

Commit dce9860

Browse files
Fix lint error
1 parent 7427588 commit dce9860

File tree

2 files changed

+10
-8
lines changed
  • __tests__/shared/components/challenge-listing/__snapshots__
  • src/shared/components/challenge-listing/Banner

2 files changed

+10
-8
lines changed

__tests__/shared/components/challenge-listing/__snapshots__/index.jsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ exports[`Matches shallow shapshot 1 shapshot 1 1`] = `
88
<Connect(Container)
99
setFilterState={[MockFunction]}
1010
/>
11+
<Banner />
1112
<div
1213
className="src-shared-components-challenge-listing-___style__tc-content-wrapper___1MqlF"
1314
>
@@ -64,6 +65,7 @@ exports[`Matches shallow shapshot 2 shapshot 2 1`] = `
6465
<Connect(Container)
6566
setFilterState={[MockFunction]}
6667
/>
68+
<Banner />
6769
<div
6870
className="src-shared-components-challenge-listing-___style__tc-content-wrapper___1MqlF"
6971
>

src/shared/components/challenge-listing/Banner/style.scss

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

33
.banner {
4+
@include roboto-medium;
5+
6+
@include xs-to-sm {
7+
height: 81px;
8+
line-height: 22px;
9+
padding-left: 20px;
10+
}
11+
412
display: flex;
513
justify-content: space-between;
614
flex-direction: row;
715
align-items: center;
816
margin: 10px 15px 0 15px;
917
height: 50px;
1018
background: linear-gradient(90deg, #2c95d7 0%, #06d6a0 100%);
11-
1219
border-radius: 10px;
1320
color: #fff;
14-
@include roboto-medium;
1521
font-size: 16px;
1622

17-
@include xs-to-sm {
18-
height: 81px;
19-
line-height: 22px;
20-
padding-left: 20px;
21-
}
22-
2323
.content {
2424
display: flex;
2525
justify-content: space-between;

0 commit comments

Comments
 (0)