Skip to content

Commit e86cb79

Browse files
authored
Merge pull request #117 from codersforcauses/issue-107-committee_page_frontend_fixes
Reworking how committee pronouns and names are arranged
2 parents 5b85868 + 9ed0af5 commit e86cb79

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

client/src/pages/about.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ export default function AboutPage() {
8484
</Link>
8585
)}
8686
</div>
87-
<div className="text-md pl-3 text-left font-firaCode leading-tight">
88-
<p className="inline-block max-w-56 bg-card px-2 py-1 text-white">
89-
<text className="pr-2">
87+
<div className="text-md max-w-56 pl-3 text-left font-firaCode leading-tight">
88+
<p className="inline-block text-white">
89+
<text className="inline-block bg-card px-2 py-1">
9090
{committeeMember.pk === 0 ? (
9191
<>{committeeMember.name}</>
9292
) : (
@@ -95,9 +95,11 @@ export default function AboutPage() {
9595
</Link>
9696
)}
9797
</text>
98-
<text className="text-left">{committeeMember.pronouns}</text>
98+
<text className="inline-block bg-card px-2 py-1 empty:hidden">
99+
{committeeMember.pronouns}
100+
</text>
99101
</p>
100-
<p className="w-full bg-card px-2 py-1 text-primary">
102+
<p className="inline-block bg-card px-2 py-1 text-primary">
101103
{roleOrder[id]}
102104
</p>
103105
</div>

0 commit comments

Comments
 (0)