Skip to content

Fix/alert text center and cssgrid docs - #43116

Open
chsrajavarma8 wants to merge 2 commits into
twbs:mainfrom
chsrajavarma8:fix/alert-text-center-and-cssgrid-docs
Open

chsrajavarma8 wants to merge 2 commits into
twbs:mainfrom
chsrajavarma8:fix/alert-text-center-and-cssgrid-docs

Conversation

@chsrajavarma8

Copy link
Copy Markdown

Description

Motivation & Context

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

Related issues

.alert is a flex container in v6, so its text shrinks to fit and
.text-center has no visible effect. Let a direct <p> grow to fill the
alert and center/end-align bare text nodes with justify-content.

Fixes twbs#43048
$enable-cssgrid defaults to true since twbs#41702, but the CSS Grid, grid
utilities and options docs still called it opt-in. The form layout docs
also said "grid classes" without naming which grid, while the validation
examples use the CSS Grid.

Fixes twbs#43057
@chsrajavarma8
chsrajavarma8 requested a review from a team as a code owner October 18, 2026 09:11
@julien-deramond julien-deramond added v6 v6, the main branch bug Something does not work as documented css Sass sources or compiled CSS docs Documentation site and its content labels Oct 18, 2026

This branch has not been deployed

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

Labels

bug Something does not work as documented css Sass sources or compiled CSS docs Documentation site and its content v6 v6, the main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants