]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes some copy around inline forms
authorMark Otto <markdotto@gmail.com>
Thu, 11 Mar 2021 05:06:54 +0000 (21:06 -0800)
committerMark Otto <otto@github.com>
Thu, 11 Mar 2021 05:25:21 +0000 (21:25 -0800)
site/content/docs/5.0/forms/layout.md

index f0fc0b582f920c5578234903cf3e28c4c3d3f4b7..47e2f8ab7bc82d19208d070cca4f2b4859121476 100644 (file)
@@ -292,7 +292,7 @@ You can then remix that once again with size-specific column classes.
 
 ## Inline forms
 
-Use the `.col-auto` class to create horizontal layouts. By adding [gutter modifier classes]({{< docsref "/layout/gutters" >}}), we'll have gutters in horizontal and vertical directions. The `.align-items-center` aligns the form elements to the middle, making the `.form-checkbox` align properly.
+Use the `.row-cols-*` classes to create responsive horizontal layouts. By adding [gutter modifier classes]({{< docsref "/layout/gutters" >}}), we'll have gutters in horizontal and vertical directions. On narrow mobile viewports, the `.col-12` helps stack the form controls and more. The `.align-items-center` aligns the form elements to the middle, making the `.form-checkbox` align properly.
 
 {{< example >}}
 <form class="row row-cols-lg-auto g-3 align-items-center">