Skip to content

Commit 2c004f5

Browse files
committed
Reworked how pronouns and names are arranged
-Rather than name and pronouns being part of the same rectangle, they are their own independent blocks that will wrap if appropriate - Added placeholder text for committee portrait pronouns, where it will say "No Pronouns" if the pronouns attribute is blank. We can definitely change if needed
1 parent 5b85868 commit 2c004f5

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

client/src/pages/about.tsx

Lines changed: 9 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,13 @@ 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">
99+
{committeeMember.pronouns === ""
100+
? "No Pronouns"
101+
: committeeMember.pronouns}
102+
</text>
99103
</p>
100-
<p className="w-full bg-card px-2 py-1 text-primary">
104+
<p className="inline-block bg-card px-2 py-1 text-primary">
101105
{roleOrder[id]}
102106
</p>
103107
</div>

0 commit comments

Comments
 (0)