Skip to content

Fix news article title wrapping on narrow screens#288

Open
ChuanWeis wants to merge 1 commit into
navcoin:masterfrom
ChuanWeis:codex/navhub-news-title-wrap
Open

Fix news article title wrapping on narrow screens#288
ChuanWeis wants to merge 1 commit into
navcoin:masterfrom
ChuanWeis:codex/navhub-news-title-wrap

Conversation

@ChuanWeis
Copy link
Copy Markdown

Description

Allow Medium article titles inside #react-news-article to wrap normally on narrow screens. This keeps the /news listing card truncation in news-item.scss unchanged, so only the full article page title behavior changes.

Issues Resolved

Fixes #163

Preview Links

A Netlify preview should be available from the pull request checks once the deploy is created.

Checklist

  • Have you assigned/claimed the issues you've resolved in this pull request?
  • Have the issues been moved to the QA column of the NavCoin Websites project?
  • Have you checked there are no merge conflicts?
  • Have you tested the changes work across both mobile and desktop?

Validation performed:

  • git diff --check
  • Static CSS assertions that article titles allow wrapping and /news card titles keep their truncation rules
  • node_modules/.bin/sass --no-source-map themes/navhub-v2/static/css/sass/nav.scss themes/navhub-v2/static/css/nav.css

Note: npm run sass uses Gulp 3 and does not run under the installed Node 22 runtime (primordials is not defined), so I used the installed Sass CLI to verify the same SCSS entrypoint.

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.

Titles truncated on news detail page

1 participant