File tree 6 files changed +39
-14
lines changed
6 files changed +39
-14
lines changed Original file line number Diff line number Diff line change 53
53
}
54
54
55
55
& :nth-child (2 ) {
56
- width : 204 px ;
56
+ width : 174 px ;
57
57
}
58
58
59
59
& :nth-child (3 ) {
60
- width : 263 px ;
60
+ width : 233 px ;
61
61
}
62
62
63
63
& :nth-child (4 ) {
64
- width : 195 px ;
64
+ width : 225 px ;
65
65
}
66
66
67
67
& :last-child {
Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ function SearchCombo({
21
21
return (
22
22
< div styleName = "container" >
23
23
< div styleName = "input-wrap" >
24
- < input type = "text" placeholder = { placeholder } styleName = "input" value = { inputVal } onChange = { event => setVal ( event . target . value ) } />
24
+ {
25
+ ! inputVal ? < span styleName = "search-placeholder" > { placeholder } </ span > : null
26
+ }
27
+ < input type = "text" styleName = "input" value = { inputVal } onChange = { event => setVal ( event . target . value ) } />
25
28
{
26
29
inputVal ? < IconClearSearch onClick = { clearSearch } styleName = "clear-search" /> : null
27
30
}
Original file line number Diff line number Diff line change 9
9
width : 100% ;
10
10
position : relative ;
11
11
margin-right : 10px ;
12
+ z-index : 1 ;
12
13
13
14
input .input {
14
- background-color : #fff ;
15
+ background : transparent ;
15
16
border : 1px solid #aaa ;
16
17
border-radius : 6px ;
17
18
height : 39px ;
18
19
margin : 0 ;
20
+ }
19
21
20
- & ::placeholder {
21
- color : #aaa ;
22
- font-size : 14px ;
23
- line-height : 22px ;
24
- text-transform : none ;
25
- }
22
+ .search-placeholder {
23
+ color : #aaa ;
24
+ font-size : 14px ;
25
+ font-family : Roboto, sans-serif ;
26
+ line-height : 22px ;
27
+ text-transform : none ;
28
+ position : absolute ;
29
+ z-index : 0 ;
30
+ top : 8px ;
31
+ left : 15px ;
26
32
}
27
33
28
34
.clear-search {
29
35
position : absolute ;
30
36
top : calc (50% - 5px );
31
37
right : 15px ;
38
+ cursor : pointer ;
32
39
}
33
40
}
34
41
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ export default function GigDetails(props) {
35
35
if ( isomorphy . isClientSide ( ) ) {
36
36
shareUrl = encodeURIComponent ( window . location . href ) ;
37
37
}
38
+ let skills = getCustomField ( job . custom_fields , 'Technologies Required' ) ;
39
+ if ( skills !== 'n/a' ) skills = skills . split ( ',' ) . join ( ', ' ) ;
38
40
39
41
return (
40
42
< div styleName = "container" >
@@ -88,6 +90,8 @@ export default function GigDetails(props) {
88
90
</ div >
89
91
< div styleName = "content" >
90
92
< div styleName = "left" >
93
+ < h4 > Required Tech Skills</ h4 >
94
+ < p > { skills } </ p >
91
95
< h4 > Description</ h4 >
92
96
< p > { ReactHtmlParser ( job . job_description_text , ReactHtmlParserOptions ) }
93
97
</ p >
Original file line number Diff line number Diff line change 134
134
}
135
135
}
136
136
}
137
+
138
+ .gig-skills {
139
+ display : flex ;
140
+ }
137
141
}
138
142
139
143
.left {
146
150
line-height : 30px ;
147
151
display : inline-block ;
148
152
}
149
-
150
153
/* stylelint-enable */
154
+
155
+ h4 {
156
+ margin-top : 35px ;
157
+
158
+ & :first-child {
159
+ margin-top : 0 ;
160
+ }
161
+ }
151
162
}
152
163
}
153
164
}
Original file line number Diff line number Diff line change @@ -114,11 +114,11 @@ class RecruitCRMJobsContainer extends React.Component {
114
114
return (
115
115
< div styleName = "container" >
116
116
< div styleName = "filters" >
117
- < SearchCombo placeholder = "Search Gig Listings by Name, Skills or Location" onSearch = { this . onSearch } term = { term } />
117
+ < SearchCombo placeholder = "Search Gig Listings by Name, Skills, or Location" onSearch = { this . onSearch } term = { term } />
118
118
</ div >
119
119
< div styleName = "jobs-list-container" >
120
120
{
121
- jobsToDisplay . map ( job => < JobListCard job = { job } /> )
121
+ jobsToDisplay . map ( job => < JobListCard job = { job } key = { job . slug } /> )
122
122
}
123
123
</ div >
124
124
< Paginate onChange = { this . onPaginate } pages = { pages } page = { page } />
You can’t perform that action at this time.
0 commit comments