Skip to content

fix: Keep footer link labels on one line - #12

Open
lundybernard wants to merge 1 commit into
scientific-python:mainfrom
lundybernard:lb/footer-link-nowrap
Open

lundybernard wants to merge 1 commit into
scientific-python:mainfrom
lundybernard:lb/footer-link-nowrap

Conversation

@lundybernard

Copy link
Copy Markdown
Contributor

MyST renders cross-domain links as an anchor that wraps a span carrying Tailwind's whitespace-normal. The span resets the wrap mode, and inline-size: min-content shrinks the anchor to its longest word. Labels of two or more words then break onto a second line.

The theme demo uses relative links, so it does not reproduce the bug.

Assisted-by: claude-code:claude-opus-5 [The Engineer]

MyST renders cross-domain links as an anchor that wraps a span carrying
Tailwind's whitespace-normal. The span resets the wrap mode, and
inline-size: min-content shrinks the anchor to its longest word. Labels
of two or more words then break onto a second line.

The theme demo uses relative links, so it does not reproduce the bug.

Assisted-by: claude-code:claude-opus-5 [The Engineer]
@lundybernard

Copy link
Copy Markdown
Contributor Author

Addresses footer formatting that we noticed in scientific-python/learn.scientific-python.org#315

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant