Skip to content

Commit

Permalink
[docs] Devdocs Bootstrap forms refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
roland04 committed Feb 27, 2024
1 parent 30af0cb commit ad2ae95
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/devupdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,35 @@ The `.media` component has been replaced with utility classes.

</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>

## New course section page

<Since version="4.4" issueNumber="MDL-79986" />
Expand Down

0 comments on commit ad2ae95

Please sign in to comment.