Skip to content

Docs: explain tables in rounded containers - #42823

Open
nrps9909 wants to merge 1 commit into
twbs:mainfrom
nrps9909:codex/document-rounded-table-containers
Open

Docs: explain tables in rounded containers#42823
nrps9909 wants to merge 1 commit into
twbs:mainfrom
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

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: To analyze

Development

Successfully merging this pull request may close these issues.

2 participants