Skip to content

v6: minor docs fixes#42385

Merged
mdo merged 2 commits into
twbs:v6-devfrom
coliff:dev/coliff/v6-minor-docs-fixes
May 3, 2026
Merged

v6: minor docs fixes#42385
mdo merged 2 commits into
twbs:v6-devfrom
coliff:dev/coliff/v6-minor-docs-fixes

Conversation

@coliff
Copy link
Copy Markdown
Contributor

@coliff coliff commented May 2, 2026

Description / Motivation & Context

Fixed a few minor bugs:

  • Toasts second example is an accent one (not primary)
  • add disabled for the select 'please select' option... once a user opens the select they don't need to be able to select that option again and if they did it'd result in the display top left position anyway (opinionated change)
  • Fix font for refence tables so they display as monospaced

Type of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would change existing functionality)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Live previews

Update docs and styles: change toast example text to use "accent" wording, mark the default toast placement option as disabled to prevent it being selected as a valid value, and switch the table font variable from --bs-font-monospace to the standardized --bs-font-mono in _content.scss.
Copilot AI review requested due to automatic review settings May 2, 2026 05:04
@coliff coliff requested a review from a team as a code owner May 2, 2026 05:04
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes a few small documentation/styling adjustments in the Bootstrap v6 docs site, focusing on toast examples and monospace typography in reference tables.

Changes:

  • Update a toast variant example’s descriptive text to match the theme-accent example.
  • Adjust the toast placement select’s placeholder option to be disabled.
  • Switch reference table cell font-family to var(--bs-font-mono).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
site/src/scss/_content.scss Uses the v6 --bs-font-mono CSS variable for reference table monospace rendering.
site/src/content/docs/components/toasts.mdx Tweaks toast docs examples (variant label text and placement select placeholder).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread site/src/content/docs/components/toasts.mdx
Comment thread site/src/content/docs/components/toasts.mdx Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 May 2, 2026
@mdo mdo merged commit 495618b into twbs:v6-dev May 3, 2026
12 checks passed
@coliff coliff deleted the dev/coliff/v6-minor-docs-fixes branch May 3, 2026 08:44
mdo pushed a commit that referenced this pull request May 3, 2026
* Adjust toast copy, placeholder, and font var

Update docs and styles: change toast example text to use "accent" wording, mark the default toast placement option as disabled to prevent it being selected as a valid value, and switch the table font variable from --bs-font-monospace to the standardized --bs-font-mono in _content.scss.

* fix typo

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

4 participants