@@ -41,36 +41,30 @@ const RecentProjects = () => {
4141 < p className = "lg:text-xl lg:font-normal font-light text-sm line-clamp-2" >
4242 { des }
4343 </ p >
44- < div className = "flex items-center justify-between mt-7 mb-3" >
45- < div className = "flex items-center " >
46- { lngIconLts . map ( ( icon , index ) => (
47- < div
48- key = { icon }
49- className = "border border-white/[2.0] rounded-full bg-black lg:w-10 lg:h-10 w-8 h-8 flex items-center justify-center"
50- style = { {
51- zIndex : 13 - index ,
52- transform : `translateX(-${ 7.2 * index } px)` ,
53- } }
54- >
55- < img src = { icon } alt = { icon } className = "p-2" />
56- </ div >
57- ) ) }
44+ < div className = "flex items-center justify-between mt-7 mb-3 gap-2" >
45+ < div className = "flex items-center flex-wrap gap-1 min-w-0 flex-shrink" >
46+ { lngIconLts . map ( ( icon , index ) => (
47+ < div
48+ key = { icon }
49+ className = "border border-white/[2.0] rounded-full bg-black w-7 h-7 sm:w-8 sm:h-8 lg:w-9 lg:h-9 xl:w-10 xl:h-10 flex items-center justify-center flex-shrink-0"
50+ style = { { zIndex : 13 - index } }
51+ >
52+ < img src = { icon } alt = { icon } className = "p-1.5 sm:p-2" />
5853 </ div >
59- < div className = "flex justify-center items-center" >
60- { toolsIconLts . map ( ( icon , index ) => (
61- < div
62- key = { icon }
63- className = "border border-white/[2.0] rounded-full bg-black lg:w-10 lg:h-10 w-8 h-8 flex items-center justify-center"
64- style = { {
65- zIndex : 13 - index ,
66- transform : `translateX(-${ 7.2 * index } px)` ,
67- } }
68- >
69- < img src = { icon } alt = { icon } className = "p-2" />
70- </ div >
71- ) ) }
54+ ) ) }
55+ </ div >
56+ < div className = "flex items-center flex-wrap gap-1 min-w-0 flex-shrink justify-end" >
57+ { toolsIconLts . map ( ( icon , index ) => (
58+ < div
59+ key = { icon }
60+ className = "border border-white/[2.0] rounded-full bg-black w-7 h-7 sm:w-8 sm:h-8 lg:w-9 lg:h-9 xl:w-10 xl:h-10 flex items-center justify-center flex-shrink-0"
61+ style = { { zIndex : 13 - index } }
62+ >
63+ < img src = { icon } alt = { icon } className = "p-1.5 sm:p-2" />
7264 </ div >
73- </ div >
65+ ) ) }
66+ </ div >
67+ </ div >
7468 </ div >
7569 </ PinContainer >
7670 </ div >
0 commit comments