@@ -50,7 +50,7 @@ export function FeaturedTaskCarousel({
5050
5151 return (
5252 < >
53- < div className = "mx-auto w-full max-w-[620px]" >
53+ < div className = "mx-auto w-full max-w-[620px] lg:w-[620px] " >
5454 < div className = "tb-frame overflow-hidden bg-[#fffdf9] p-4 sm:p-6" >
5555 < div className = "flex flex-col gap-5" >
5656 < div className = "flex items-start justify-between gap-4" >
@@ -99,8 +99,8 @@ export function FeaturedTaskCarousel({
9999 ) ) }
100100 </ div >
101101
102- < div className = "tb-frame-soft flex h-[360px] flex-col bg-[#f8fcff] p-5 sm:h-[392px] sm:p-6" >
103- < div className = "min-h-[3rem] content-start flex flex-wrap items-center gap-2 text-xs text-slate-600" >
102+ < div className = "tb-frame-soft flex h-[360px] w-full flex-col bg-[#f8fcff] p-5 sm:h-[392px] sm:p-6" >
103+ < div className = "min-h-[3rem] w-full content-start flex flex-wrap items-center gap-2 text-xs text-slate-600" >
104104 < code className = "rounded-full border-2 border-[#25314d] bg-white px-2.5 py-1 font-mono text-[11px] font-semibold text-[#25314d]" >
105105 { taskHandle ( activeTask ) }
106106 </ code >
@@ -116,7 +116,7 @@ export function FeaturedTaskCarousel({
116116 </ div >
117117
118118 < div
119- className = "mt-4 min-h-[4.2rem] font-heading text-[2rem] font-bold leading-[1.02] text-[#25314d] sm:min-h-[5.1rem] sm:text-[2.45rem]"
119+ className = "mt-4 min-h-[4.2rem] w-full font-heading text-[2rem] font-bold leading-[1.02] text-[#25314d] sm:min-h-[5.1rem] sm:text-[2.45rem]"
120120 style = { {
121121 display : "-webkit-box" ,
122122 WebkitLineClamp : 2 ,
@@ -128,7 +128,7 @@ export function FeaturedTaskCarousel({
128128 </ div >
129129
130130 < p
131- className = "mt-3 min-h-[5.25rem] max-w-[38ch] text-sm leading-7 text-slate-700 sm:min-h-[5.75rem] sm:text-base"
131+ className = "mt-3 min-h-[5.25rem] w-full text-sm leading-7 text-slate-700 sm:min-h-[5.75rem] sm:text-base"
132132 style = { {
133133 display : "-webkit-box" ,
134134 WebkitLineClamp : 3 ,
@@ -139,17 +139,17 @@ export function FeaturedTaskCarousel({
139139 { activeTask . short_description }
140140 </ p >
141141
142- < div className = "mt-auto flex flex-col gap-3 sm:flex-row sm:flex-wrap " >
142+ < div className = "mt-auto flex w-full flex-col gap-3 sm:flex-row sm:flex-nowrap " >
143143 < button
144144 type = "button"
145- className = "tb-focus-ring tb-button-primary"
145+ className = "tb-focus-ring tb-button-primary w-full justify-center sm:w-[11.5rem] "
146146 onClick = { ( ) => setDrawerRepo ( activeTask . repo ) }
147147 >
148148 Expand details
149149 </ button >
150150 { preview ? (
151151 < a
152- className = "tb-focus-ring tb-button-secondary bg-[#d7ebf6]"
152+ className = "tb-focus-ring tb-button-secondary w-full justify-center bg-[#d7ebf6] sm:w-[11.5rem ]"
153153 href = { preview . run_url }
154154 target = "_blank"
155155 rel = "noreferrer"
0 commit comments