File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ All notable changes to this project will be documented in this file.
4+
5+ ## [ Unreleased]
6+
7+ ### Fixed
8+
9+ - Fix alignment of "Read full profile" buttons on TSC page: cards now use a flex-column layout so the button is consistently pinned to the bottom regardless of bio length.
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ export default function TSCSection() {
177177 return (
178178 < article
179179 key = { `${ fullName } -${ index } ` }
180- className = "h-full rounded-2xl border-2 border-white-dark bg-white p-6 sm:p-7" >
180+ className = "flex flex-col h-full rounded-2xl border-2 border-white-dark bg-white p-6 sm:p-7" >
181181 { member . photo ? (
182182 < Image
183183 src = { `/images/tsc/${ member . photo } ` }
@@ -194,7 +194,7 @@ export default function TSCSection() {
194194 />
195195 ) }
196196
197- < div className = "mt-5" >
197+ < div className = "flex flex-1 flex-col mt-5" >
198198 < h3 className = "text-xl sm:text-2xl mb-2" > { fullName } </ h3 >
199199
200200 { member . gitHubAccount ? (
@@ -214,7 +214,9 @@ export default function TSCSection() {
214214 </ a >
215215 ) : null }
216216
217- < p className = "mt-4 text-base text-gray" > { bioPreview } </ p >
217+ < p className = "grow mt-4 text-base text-gray" >
218+ { bioPreview }
219+ </ p >
218220
219221 { hasBio ? (
220222 < button
@@ -224,7 +226,7 @@ export default function TSCSection() {
224226 lastFocusedTriggerIdRef . current = `tsc-read-profile-${ index } ` ;
225227 setSelectedMember ( member ) ;
226228 } }
227- className = "mt-4 inline-flex items-center rounded-full border-2 border-white-dark px-4 py-1.5 text-sm font-medium text-charcoal transition-colors hover:border-red focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-red-light focus-visible:ring-offset-2"
229+ className = "mt-4 inline-flex items-center justify-center rounded-full border-2 border-white-dark px-4 py-1.5 text-sm font-medium text-charcoal transition-colors hover:border-red focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-red-light focus-visible:ring-offset-2"
228230 aria-label = { `Read full profile for ${ fullName } ` } >
229231 Read full profile
230232 </ button >
You can’t perform that action at this time.
0 commit comments