Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/app/routes/Awards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,18 @@ function Awards() {
<span>{award.category}</span>
</div> */}
<CardTitle className="text-xl leading-tight">
{award.paperTitle}
{award.paperLink ? (
<a
href={award.paperLink}
target="_blank"
rel="noreferrer"
className="inline-flex items-center gap-2 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary"
>
{award.paperTitle}
Comment on lines 58 to +66

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Allow linked award titles to wrap

The new anchor uses inline-flex items-center gap-2, which turns the title into a single flex item with flex-wrap: nowrap. When award.paperLink is present, long paper titles (e.g., the existing best paper title) no longer wrap and instead overflow the card on narrow viewports, whereas the previous plain text wrapped normally. Dropping the flex display or explicitly enabling wrapping (flex-wrap or min-w-0) would preserve responsiveness while keeping the external-link styling.

Useful? React with 👍 / 👎.

</a>
) : (
award.paperTitle
)}
</CardTitle>
<CardDescription className="text-base sm:text-md">
{award.authors}
Expand Down