@@ -25,9 +25,9 @@ export default function TopMindsSection({
2525 ) }
2626 { ...rest }
2727 >
28- < div className = "flex flex-wrap max-sm:flex-col sm :*:border-b-0" >
29- { /* todo: look up socials */ }
30- < h3 className = "grow pb-6 pr-6 typography-h2" >
28+ < div className = "mx-auto flex flex-wrap max-sm:flex-col [@media(width<907px)]:gap-y-6 [@media(width>=907px)] :*:border-b-0" >
29+ { /* todo: remaining socials */ }
30+ < h3 className = "mr-auto flex text-pretty pb-6 pr-6 typography-h2 [@media(width<907px)]:w-full [@media(width>=907px)]:w-[400px] " >
3131 Meet the top industry minds
3232 </ h3 >
3333 < SpeakerCard
@@ -43,7 +43,7 @@ export default function TopMindsSection({
4343 src = { elizabethStone }
4444 linkedin = "elizabeth-stone-608a754"
4545 />
46- < div className = "flex grow border-t border- sec-dark *:border-t-0 max-sm:contents " >
46+ < div className = "flex grow border-sec-dark [@media(width<907px)]:contents [@media(width>=907px)]:border-t [@media(width>=907px)]: *:border-t-0" >
4747 < SpeakerCard
4848 name = "Kamil Kisiela"
4949 title = "The Guild — Developer"
@@ -64,7 +64,7 @@ export default function TopMindsSection({
6464 twitter = "tanmaigo"
6565 linkedin = "tanmaig"
6666 />
67- < div className = "mt-6 flex grow items-end justify-end pl-6" >
67+ < div className = "mt-6 flex grow basis-[content] items-end justify-stretch pl-6 max-lg:w-full sm:justify-end " >
6868 < Button variant = "secondary" > View all speakers</ Button >
6969 </ div >
7070 </ div >
@@ -91,7 +91,7 @@ function SpeakerCard({
9191 return (
9292 < article
9393 className = { clsx (
94- ":border-r border-y border-r border-sec-dark first-of-type:border-l" ,
94+ ":border-r shrink-0 border-y border-r border-sec-dark first-of-type:border-l" ,
9595 className ,
9696 ) }
9797 >
@@ -100,7 +100,7 @@ function SpeakerCard({
100100 alt = ""
101101 width = { 236 }
102102 height = { 236 }
103- className = "aspect-square size-[236px] w-full object-cover transition-transform"
103+ className = "aspect-square w-full object-cover transition-transform sm:size-[236px] "
104104 />
105105 < div className = "flex items-stretch border-t border-sec-dark" >
106106 < div className = "flex h-[80px] grow flex-col justify-center gap-1 p-3" >
0 commit comments