Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/src/content/docs/layout/columns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ In addition to column clearing at responsive breakpoints, you may need to reset

#### Margin utilities

With the move to flexbox in v4, you can use margin utilities like `.me-auto` to force sibling columns away from one another.
With the move to flexbox in v4, you can use margin utilities like `.me-auto` to force sibling columns away from one another, including with [variable-width columns]([[docsref:/layout/grid#variable-width-content]]) such as `.col-auto`.

<Example class="bd-example-row" code={`<div class="container text-center">
<div class="row">
Expand Down
4 changes: 2 additions & 2 deletions site/src/content/docs/layout/grid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Auto-layout for flexbox grid columns also means you can set the width of one col

### Variable width content

Use `col-{breakpoint}-auto` classes to size columns based on the natural width of their content.
Use `.col-auto` and `col-{breakpoint}-auto` classes to size columns based on the natural width of their content across all viewports or at specific breakpoints.

<Example class="bd-example-row" code={`<div class="container text-center">
<div class="row justify-content-md-center">
Expand All @@ -194,7 +194,7 @@ Use `col-{breakpoint}-auto` classes to size columns based on the natural width o
<div class="col">
1 of 3
</div>
<div class="col-md-auto">
<div class="col-auto">
Variable width content
</div>
<div class="col col-lg-2">
Expand Down