Skip to content

Commit

Permalink
Docs: add .overflow-x-auto to CSS Grid nesting example at small bre…
Browse files Browse the repository at this point in the history
…akpoints (#40928)

Co-authored-by: Julien Déramond <[email protected]>
  • Loading branch information
DrejT and julien-deramond authored Dec 18, 2024
1 parent c536836 commit b80e676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.3/layout/css-grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Similar to our default grid system, our CSS Grid allows for easy nesting of `.gr
In practice this allows for more complex and custom layouts when compared to our default grid system.

{{< example class="bd-example-cssgrid" >}}
<div class="grid text-center" style="--bs-columns: 3;">
<div class="grid text-center overflow-x-auto" style="--bs-columns: 3;">
<div>
First auto-column
<div class="grid">
Expand Down

0 comments on commit b80e676

Please sign in to comment.