Add links to award paper titles#42
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <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} |
There was a problem hiding this comment.
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 👍 / 👎.
Summary
Testing