Skip to content

Commit

Permalink
Merge pull request #859 from roland04/devdocs-bootstrap-forms-2
Browse files Browse the repository at this point in the history
Documentation for MDL-75670
  • Loading branch information
sarjona authored Mar 5, 2024
2 parents 20a7b92 + bc52ea5 commit 123da7a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/guides/bs5migration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,32 @@ The following previously deprecated mixins will be dropped in BS5, so they can b
```

</ValidExample>

### Forms

- The `.form-group` helper class has been replaced with margins.
- The `.form-inline` helper class has been replaced with utility classes.

<InvalidExample title="Don't">

```html
<form class="form-inline">
<div class="form-group">
[...]
</div>
</form>
```

</InvalidExample>

<ValidExample title="Do">

```html
<form class="d-flex flex-wrap align-items-center">
<div class="mb-3">
[...]
</div>
</form>
```

</ValidExample>

0 comments on commit 123da7a

Please sign in to comment.