File tree 2 files changed +33
-30
lines changed
src/shared/components/Settings/Profile/Skills
2 files changed +33
-30
lines changed Original file line number Diff line number Diff line change @@ -507,13 +507,13 @@ export default class Skills extends ConsentComponent {
507
507
< div styleName = "hidden-indicator" />
508
508
{ imageExist ( `id-${ skill . id } .svg` ) ? getImage ( `id-${ skill . id } .svg` ) : < FallbackIcon /> }
509
509
</ div >
510
- < div styleName = "name-wrapper" >
511
- < div styleName = "name" >
512
- { _ . truncate ( skill . name , { length : 18 , separator : ' ' } ) }
513
- </ div >
514
- { _ . includes ( skill . sources , 'CHALLENGE' ) && < div styleName = "verified-badge" > < VerifiedBadgeIcon /> </ div > }
515
- </ div >
516
510
</ a >
511
+ < div styleName = "name-wrapper" >
512
+ < div styleName = "name" >
513
+ { _ . truncate ( skill . name , { length : 18 , separator : ' ' } ) }
514
+ </ div >
515
+ { _ . includes ( skill . sources , 'CHALLENGE' ) && < div styleName = "verified-badge" > < VerifiedBadgeIcon /> </ div > }
516
+ </ div >
517
517
</ div >
518
518
</ li >
519
519
) ;
Original file line number Diff line number Diff line change 228
228
}
229
229
230
230
li {
231
- margin : 0 10px 55 px ;
231
+ margin : 0 10px 10 px ;
232
232
border-radius : 6px ;
233
233
234
234
@include xs-to-lg {
261
261
text-decoration : none ;
262
262
}
263
263
264
+ .name-wrapper {
265
+ position : relative ;
266
+ display : flex ;
267
+ flex-direction : row ;
268
+ justify-content : center ;
269
+ align-items : center ;
270
+ width : 75px ;
271
+ padding : 5px 0px 10px ;
272
+ flex-shrink : 0 ;
273
+
274
+ .name {
275
+ @include roboto-regular ;
276
+
277
+ font-size : 12px ;
278
+ line-height : 15px ;
279
+ color : #262628 ;
280
+ text-align : center ;
281
+ }
282
+
283
+ .verified-badge {
284
+ padding-left : 5px ;
285
+ font-size : 0 ;
286
+ }
287
+ }
288
+
264
289
.skill-icon {
265
290
position : relative ;
266
291
display : flex ;
267
292
flex-direction : column ;
268
293
justify-content : center ;
269
294
align-items : center ;
270
295
background-color : #fbfbfb ;
271
- padding : 10px ;
296
+ padding : 0 px 10px 0 px ;
272
297
border : 1px solid $tc-gray-20 ;
273
298
border-radius : 6px ;
274
299
height : 75px ;
317
342
}
318
343
}
319
344
320
- .name-wrapper {
321
- margin-top : 20px ;
322
- display : flex ;
323
- align-items : center ;
324
- justify-content : center ;
325
-
326
- .name {
327
- @include roboto-regular ;
328
-
329
- font-size : 12px ;
330
- line-height : 15px ;
331
- color : #262628 ;
332
- text-align : center ;
333
- width : 100% ;
334
- }
335
-
336
- .verified-badge {
337
- padding-left : 5px ;
338
- font-size : 0 ;
339
- }
340
- }
341
-
342
345
a .skill-hidden {
343
346
img {
344
347
opacity : 0.3 ;
You can’t perform that action at this time.
0 commit comments