@@ -303,7 +303,7 @@ export default {
303
303
</script >
304
304
<template >
305
305
<div >
306
- <h2 class =" ui header gt-df gt-ac gt-sb" >
306
+ <div class =" ui header gt-df gt-ac gt-sb" >
307
307
<div >
308
308
<relative-time
309
309
v-if =" xAxisMin > 0"
@@ -334,7 +334,7 @@ export default {
334
334
<div class =" ui dropdown jump" id =" repo-contributors" >
335
335
<div class =" ui basic compact button" >
336
336
<span class =" text" >
337
- {{ locale.filterLabel }} <strong >{{ locale.contributionType[type] }}</strong >
337
+ < span class = " not-mobile " > {{ locale.filterLabel }}& nbsp ; </ span > <strong >{{ locale.contributionType[type] }}</strong >
338
338
<svg-icon name =" octicon-triangle-down" :size =" 14" />
339
339
</span >
340
340
</div >
@@ -351,7 +351,7 @@ export default {
351
351
</div >
352
352
</div >
353
353
</div >
354
- </h2 >
354
+ </div >
355
355
<div class =" gt-df ui segment main-graph" >
356
356
<div v-if =" isLoading || errorText !== ''" class =" gt-tc gt-m-auto" >
357
357
<div v-if =" isLoading" >
@@ -370,7 +370,8 @@ export default {
370
370
</div >
371
371
<div class =" contributor-grid" >
372
372
<div
373
- v-for =" (contributor, index) in sortedContributors" :key =" index" class =" stats-table"
373
+ v-for =" (contributor, index) in sortedContributors"
374
+ :key =" index"
374
375
v-memo =" [sortedContributors, type]"
375
376
>
376
377
<div class =" ui top attached header gt-df gt-f1" >
@@ -406,13 +407,25 @@ export default {
406
407
<style scoped>
407
408
.main-graph {
408
409
height : 260px ;
410
+ padding-top : 2px ;
409
411
}
412
+
410
413
.contributor-grid {
411
414
display : grid ;
412
415
grid-template-columns : repeat (2 , 1fr );
413
416
gap : 1rem ;
414
417
}
415
418
419
+ .contributor-grid > * {
420
+ min-width : 0 ;
421
+ }
422
+
423
+ @media (max-width : 991.98px ) {
424
+ .contributor-grid {
425
+ grid-template-columns : repeat (1 , 1fr );
426
+ }
427
+ }
428
+
416
429
.contributor-name {
417
430
margin-bottom : 0 ;
418
431
}
0 commit comments