]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
v6: docs: fix typos, examples, and utility class docs (#42430)
authorChristian Oliff <christian_oliff@trimble.com>
Mon, 1 Jun 2026 17:51:58 +0000 (02:51 +0900)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2026 17:51:58 +0000 (10:51 -0700)
commit7e1a7f06baa8905acccebe1d0dfa10e3e40353ed
tree8394f58bf0d712c0da36b67a3d39f8292486adef
parenta1ce7915c25295aab9e3ef1841dbccc775d6f236
v6: docs: fix typos, examples, and utility class docs (#42430)

Minor documentation fixes across multiple site files:
- examples/sign-in: add meaningful alt text for the logo image for accessibility.
- components/dialog: add missing space in example button markup.
- components/navbar: update navbar example to use new prefix-style responsive class (`.{breakpoint}:navbar-expand`).
- forms/layout: update horizontal form docs to recommend `.{breakpoint}:col-*` usage.
- getting-started/approach: fix grammar/typos, correct docsref path, and clarify component modifier/variant naming (mention `.btn-solid` and `.theme-primary`).
- getting-started/javascript: adjust JS-required components list (add Dialog, remove Accordions/Modals lines).
- guides/migration: fix possessive "its" typos in breakpoint/container notes.
- helpers/stretched-link: correct placeholder title text.
- utilities/background: update example to use `fg-contrast-{name}` / `fg-{name}` classes instead of previous `color-*` naming.

These changes improve clarity, accessibility, and align docs with updated class naming conventions.

v6: docs: fix typos, examples, and utility class docs

text would always be white on black background
Update example code for background gradient usage
Update margin utilities docs for v6 spacers
Docs updated to reflect the v6 spacing scale: sizes now range from 0 through 9 (`.m-0`–`.m-9`) and the multiplier values for sizes 3–9 were adjusted.

Negative margin docs were changed to note that v6 only supports negative inline margins (`.ms--1`, `.me--2`) using `-1` and `-2` spacers and that the v5-style full negative utilities (e.g. `.mt-n1`) were removed.

The responsive examples were updated to list `.{breakpoint}m-0` through `.{breakpoint}m-9` and `.{breakpoint}m-auto`.
12 files changed:
site/src/assets/examples/sign-in/index.astro
site/src/content/docs/components/dialog.mdx
site/src/content/docs/components/navbar.mdx
site/src/content/docs/forms/layout.mdx
site/src/content/docs/getting-started/approach.mdx
site/src/content/docs/getting-started/javascript.mdx
site/src/content/docs/guides/migration.mdx
site/src/content/docs/helpers/stretched-link.mdx
site/src/content/docs/utilities/background.mdx
site/src/content/docs/utilities/gap.mdx
site/src/content/docs/utilities/margin.mdx
site/src/content/docs/utilities/padding.mdx