Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

v6 docs: use `text-wrap: pretty` to improve paragraoh styling

Open Beginner friendly
#43,190 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

@mdo is already working on this.

Since Oct 26, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
bootstrap, css, scss

Research direction

Start with the v6 documentation examples, especially the install page linked in the issue, and inspect how paragraphs are styled there. Apply the existing Bootstrap text-wrap: pretty utility to the relevant <p> elements, following the issue's examples. Done means the affected v6 docs use the utility consistently and the rendered paragraphs no longer show avoidable widows or orphans.

Written by the indexing model from the issue text.

Description

css docs has-pr v6

Just a little UI micro-optimization idea... adding text-wrap: pretty; to <p> prevents widows and orphans and can make text look nicer and easier to read.

It's already supported as a Bootstrap utility class - but a quick reminder of how it works is well illustrated in this demo/article: https://developer.chrome.com/blog/css-text-wrap-pretty/

I recommend adding it to the docs. I can see a few places where it'd help.

e.g. right now: https://getbootstrap.com/docs/6.0/getting-started/install/#using-yarn

Image

with text-wrap: pretty; to <p>

Image

Not a big difference, but worth doing I think....

Dominant language
MDX
Stars
175k
Forks
78.5k
Avg merge
6h 50m
Merged PRs (30d)
96

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from twbs/bootstrap

All issues in twbs/bootstrap

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.