Skip to content

Commit ca7a7a0

Browse files
committed
fix(tsc): align Read full profile buttons at bottom of member cards
Signed-off-by: aashu2006 <akshatp439@gmail.com>
1 parent 977bd34 commit ca7a7a0

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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.

src/app/tsc/page.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)