0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2026-11-18 07:04:22 +00:00
bootstrap/build
Mark Otto bf5eee882d
Prototype native gap gutters for the flexbox grid (#43282)
* feat(grid): prototype flexbox gutters with native gap

Size numbered columns and offsets against a gap-aware track width so
mixed spans fit the row without column padding or negative margins.
Keep standalone column widths and responsive row-column overrides.

Document the gutter migration and add real-browser layout coverage for
mixed spans, offsets, wrapping, nesting, RTL, and custom column counts.

* docs: highlight responsive grid columns in examples

Match column classes anywhere in the class attribute so responsive-only
columns receive the same background, border, and spacing as other grid
examples. Include the override locally while BUI carries the shared fix.

* docs: consolidate grid example highlighting

Keep the grid example override in the existing docs stylesheet and
include responsive equal-width columns such as sm:col. Remove the extra
stylesheet and retain the same styling for reordered column classes.

* ci: update bundle limits for gap-based grid sizing

Set the four affected CSS limits from measured gzip sizes. Round
limits up to the next 0.25 kB, as the bundlewatch helper does.

* test(grid): account for scrollbars in responsive layouts

Linux browsers reserve space for the vertical scrollbar. Use the
measured row width for expected column widths and offsets.

* fix(grid): preserve padded column widths and explain gap migration

Grid-only builds could wrap padded columns without Reboot. Include
padding and borders in column widths, and check both grid entry
points. Update migration and layout docs for native gaps, nested
rows, column breaks, and the gutter variables used by widths.

* docs(grid): remove container padding from previews

Native grid gaps no longer cancel container padding. Remove the
container classes from grid previews so the columns fill each
example. Keep the classes in the code and StackBlitz examples.

* docs(grid): remove containers from example snippets

Keep the grid previews, code snippets, and StackBlitz markup the
same. Remove container classes from the example source and remove
the preview-only filter. Explain when to add a parent container.

* docs(grid): keep example alignment in docs styles

Remove the outer wrappers and text-center classes from grid
examples. Center the labels with the component example styles.
Keep the code focused on rows, columns, and gaps.

* docs(grid): restore nested snippet indentation

MDX removes two leading spaces from the template lines. Add that
level back in the source so columns and their content remain
indented in the rendered snippets.
History 2026-11-14 12:49:08 -08:00
..
banner.mjs Convert build scripts to ESM (#38984) 2023-08-06 07:37:24 +03:00
browser-targets.mjs Replace Karma with Vitest and finish the Rollup removal (#42764) 2026-07-28 14:44:00 -07:00
build-plugins.mjs Switch the dist builds from Rollup to Rolldown 2026-07-27 23:13:18 -07:00
bundlewatch-fix.mjs v6: Docs design updates (#42250) 2026-04-03 13:44:58 -07:00
bundlewatch-table.mjs Add a tabular bundlewatch script (#41957) 2026-01-08 20:14:08 -08:00
change-version.mjs Prepare Bootstrap v6.0.0-alpha.1 release (#42997) 2026-10-08 09:37:03 -07:00
check-unused-imports.mjs v6: Detect unused Sass imports (#42121) 2026-03-06 08:24:57 -08:00
clean-astro.mjs Fix docs build on Windows (#42991) 2026-10-08 09:03:06 -07:00
copy-site.mjs Fix docs build on Windows (#42991) 2026-10-08 09:03:06 -07:00
css-minify.mjs Fix dark mode on built site by bumping browserslist (#42471) 2026-06-11 09:48:28 -07:00
docs-prep.sh Streamline release prep script (#41539) 2025-06-12 11:24:10 -07:00
generate-sri.mjs Migrate JS to ESM only (#42132) 2026-03-12 14:56:14 -07:00
generate-utilities-json.mjs Remove RTLCSS dependency, update docs and CSS to use native RTL (#41858) 2026-01-08 20:07:16 -08:00
generate-utilities-metadata.scss v6: Remove _variables.scss, move some vars to _config.scss, and clean up typography (#42184) 2026-03-14 13:00:10 -07:00
html-validate.mjs Bump copyright and example dates from 2025 to 2026 2026-02-15 21:05:42 -10:00
postcss.config.mjs Replace Karma with Vitest and finish the Rollup removal (#42764) 2026-07-28 14:44:00 -07:00
rolldown.config.mjs Switch the dist builds from Rollup to Rolldown 2026-07-27 23:13:18 -07:00
screenshot-examples.mjs Docs: automatically screenshot examples as light/dark images (#42329) 2026-04-18 08:21:24 +02:00
test-grid-layout.mjs Prototype native gap gutters for the flexbox grid (#43282) 2026-11-14 12:49:08 -08:00
tsconfig.dts.json Migrate the JavaScript source to TypeScript 2026-07-24 14:54:18 -07:00
zip-examples.mjs Prevent .DS_Store in our zip files (#42123) 2026-06-28 13:59:04 -07:00