Skip to content

Docs: explain tables in rounded containers - #42823

Merged
mdo merged 1 commit into
twbs:v5-devfrom
nrps9909:codex/document-rounded-table-containers
Nov 9, 2026
Merged

mdo merged 1 commit into
twbs:v5-devfrom
nrps9909:codex/document-rounded-table-containers

Conversation

@nrps9909

@nrps9909 nrps9909 commented Aug 11, 2026 •

Copy link
Copy Markdown

Description

  • Document why opaque table cell backgrounds can cover a rounded parent container.
  • Add a copy-ready .overflow-auto example that clips accented table backgrounds while preserving horizontal scrolling.
  • Document --bs-table-bg: transparent as an alternative for plain tables, including when it is not sufficient.

Motivation & Context

Bootstrap 5.3's solid table cell backgrounds can obscure a wrapper's border radius. This documents both maintainer-endorsed workarounds from #41723 and clarifies the difference between plain and accented tables.

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 (not applicable: documentation-only change)
  • All new and existing tests passed (809 JS assertions passed, but the local Chrome 151 Karma runner reported an unrelated full-page reload after completion; all documentation validations passed)

Live previews

Related issues

Validation

  • npm run lint
  • npm run dist
  • npm run docs-build
  • npm run docs-vnu
  • Prettier and CSpell checks for site/src/content/docs/content/tables.mdx
  • Local rendered-page review in Chrome
  • npm run js-test: 809/809 assertions passed; the local Chrome 151 Karma runner then reported a full-page reload environment error

Disclosure: Codex assisted with preparation; the source behavior, final diff, and rendered output were cross-checked locally.

Latest-head refresh (August 27, 2026)

Rebased cleanly onto Bootstrap main at ae7d4c531; the documentation target had no intervening changes. Revalidated exact head be2eacec7 with:

  • npm run lint (0 errors; 18 existing TODO warnings)
  • npm run docs-build (176 pages; no broken links)
  • Targeted Prettier and CSpell checks
  • git diff --check

@julien-deramond julien-deramond added docs Documentation site and its content v5 v5, the v5-dev branch labels Aug 26, 2026
@github-project-automation github-project-automation Bot moved this to Needs review in v5.4.0 Aug 26, 2026
@julien-deramond julien-deramond moved this from Needs review to To analyze in v5.4.0 Aug 26, 2026
@nrps9909
nrps9909 force-pushed the codex/document-rounded-table-containers branch from 0aaaf58 to be2eace Compare August 26, 2026 16:12
@mdo mdo removed this from v5.4.0 Nov 9, 2026
@mdo
mdo merged commit d061dac into twbs:v5-dev Nov 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation site and its content v5 v5, the v5-dev branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants