Skip to content

Commit

Permalink
Update layout.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo authored and olsza committed Oct 3, 2020
1 parent 8304ec2 commit 95e4739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.0/forms/layout.md
Expand Up @@ -300,7 +300,7 @@ Use the `.col-auto` class to create horizontal layouts. By adding [gutter modifi
Be sure to always include a `<label>` with each form control, even if you need to visually hide it with `.visually-hidden` (which still keeps it available to assistive technologies such as screen readers).

{{< example >}}
<form class="row row-cols-md-auto g-3 align-items-center">
<form class="row row-cols-lg-auto g-3 align-items-center">
<div class="col-12">
<label class="visually-hidden" for="inlineFormInputGroupUsername">Username</label>
<div class="input-group">
Expand Down

0 comments on commit 95e4739

Please sign in to comment.