@@ -457,19 +457,19 @@ const Info = ({ repo, t, i18n_lang }: RepositoryProps) => {
457
457
< span > { t ( 'info.opensource' ) } </ span >
458
458
< span className = 'mx-0.5 md:mx-1.5' > •</ span >
459
459
< NoPrefetchLink href = { `/license/${ repo . license_lid } ` } >
460
- < span className = 'cursor-pointer text-blue-500' >
460
+ < span className = 'inline-flex max-w-[60px] cursor-pointer overflow-hidden text-ellipsis whitespace-nowrap text- blue-500 md:max-w-full ' >
461
461
{ repo . license }
462
462
</ span >
463
463
</ NoPrefetchLink >
464
464
</ div >
465
465
) }
466
466
</ div >
467
467
</ div >
468
- < div className = 'flex flex-row gap-x-4 text-sm' >
468
+ < div className = 'flex flex-row gap-x-1 text-sm md:gap-x-4 ' >
469
469
{ ! repo . is_claimed && (
470
470
< NoPrefetchLink href = { `/repository/${ repo . rid } /embed` } >
471
471
< div className = 'flex cursor-pointer items-center justify-center text-blue-500 hover:text-current active:text-gray-400 md:hover:text-blue-600' >
472
- < BsPersonCheck className = 'mr-2 ' size = { 16 } />
472
+ < BsPersonCheck className = 'mr-1 ' size = { 16 } />
473
473
{ t ( 'info.unclaim' ) }
474
474
</ div >
475
475
</ NoPrefetchLink >
@@ -479,23 +479,23 @@ const Info = ({ repo, t, i18n_lang }: RepositoryProps) => {
479
479
onClick = { jumpComment }
480
480
className = 'hidden cursor-pointer items-center justify-center hover:text-blue-500 active:text-gray-400 md:flex'
481
481
>
482
- < GoComment className = 'mr-2 ' size = { 16 } />
482
+ < GoComment className = 'mr-1 ' size = { 16 } />
483
483
{ t ( 'info.discuss' ) }
484
484
</ div >
485
485
< div
486
486
className = { isCollected ? 'text-blue-500' : '' }
487
487
onClick = { handleCollect }
488
488
>
489
489
< div className = 'flex cursor-pointer items-center justify-center hover:text-blue-500 active:text-gray-400 md:hover:text-blue-500' >
490
- < BsBookmark className = 'mr-2 ' size = { 16 } />
490
+ < BsBookmark className = 'mr-1 ' size = { 16 } />
491
491
{ isCollected ? numFormat ( collectTotal , 1 ) : t ( 'info.collect' ) }
492
492
</ div >
493
493
</ div >
494
494
< div
495
495
className = 'flex cursor-pointer items-center justify-center hover:text-current active:text-gray-400 md:hover:text-blue-500'
496
496
onClick = { handleCopy }
497
497
>
498
- < GoLinkExternal className = 'mr-2 ' size = { 16 } />
498
+ < GoLinkExternal className = 'mr-1 ' size = { 16 } />
499
499
{ t ( 'info.share' ) }
500
500
</ div >
501
501
</ div >
0 commit comments