Skip to content

Commit 9aa364b

Browse files
committed
Vertically center long author strings
1 parent 59f1330 commit 9aa364b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/(main)/resources/resource-hub-card.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ export function ResourceHubCard({
9292
{(authorPlacement === "footer" || !!duration) && (
9393
<div className="flex items-center gap-4 p-4 md:p-6">
9494
{authorPlacement === "footer" && author ? (
95-
<span className="typography-body-sm text-neu-800">{author}</span>
95+
<span className="typography-body-sm flex h-[1em] items-center justify-center text-neu-800">
96+
<span>{author}</span>
97+
</span>
9698
) : null}
9799
{duration ? (
98100
<span className="ml-auto flex items-center gap-2 text-neu-800">

0 commit comments

Comments
 (0)