Skip to content

Commit b80e676

Browse files
Docs: add .overflow-x-auto to CSS Grid nesting example at small breakpoints (#40928)
Co-authored-by: Julien Déramond <[email protected]>
1 parent c536836 commit b80e676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/content/docs/5.3/layout/css-grid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Similar to our default grid system, our CSS Grid allows for easy nesting of `.gr
149149
In practice this allows for more complex and custom layouts when compared to our default grid system.
150150

151151
{{< example class="bd-example-cssgrid" >}}
152-
<div class="grid text-center" style="--bs-columns: 3;">
152+
<div class="grid text-center overflow-x-auto" style="--bs-columns: 3;">
153153
<div>
154154
First auto-column
155155
<div class="grid">

0 commit comments

Comments
 (0)