Skip to content

Commit 123da7a

Browse files
authored
Merge pull request #859 from roland04/devdocs-bootstrap-forms-2
Documentation for MDL-75670
2 parents 20a7b92 + bc52ea5 commit 123da7a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

docs/guides/bs5migration/index.md

+29
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,32 @@ The following previously deprecated mixins will be dropped in BS5, so they can b
141141
```
142142

143143
</ValidExample>
144+
145+
### Forms
146+
147+
- The `.form-group` helper class has been replaced with margins.
148+
- The `.form-inline` helper class has been replaced with utility classes.
149+
150+
<InvalidExample title="Don't">
151+
152+
```html
153+
<form class="form-inline">
154+
<div class="form-group">
155+
[...]
156+
</div>
157+
</form>
158+
```
159+
160+
</InvalidExample>
161+
162+
<ValidExample title="Do">
163+
164+
```html
165+
<form class="d-flex flex-wrap align-items-center">
166+
<div class="mb-3">
167+
[...]
168+
</div>
169+
</form>
170+
```
171+
172+
</ValidExample>

0 commit comments

Comments
 (0)