Skip to content

Allow .form-row to replace .row in div.form-group.#459

Merged
mattbrictson merged 3 commits intobootstrap-ruby:masterfrom
lcreid:449-form-group
May 28, 2018
Merged

Allow .form-row to replace .row in div.form-group.#459
mattbrictson merged 3 commits intobootstrap-ruby:masterfrom
lcreid:449-form-group

Conversation

@lcreid
Copy link
Copy Markdown
Contributor

@lcreid lcreid commented Apr 15, 2018

In Bootstrap 3, .form-group mixed in .row. In Bootstrap 4, it doesn't. So bootstrap_form automatically adds .row to the div.form-groups that it creates, if the form group is in a horizontal layout.

Bootstrap 4 provides a .form-row, which has smaller gutters than .row. If the programmer specifies ".form-row", bootstrap_form will replace .row with .form-row on the div.form-group on horizontal forms.

UPGRADE-4.0.md only mentions changes from this PR, assuming that the complete version of UPGRADE-4.0.md will be merged from PR #448.

Fixes #449.

@lcreid lcreid requested a review from mattbrictson May 19, 2018 20:27
@mattbrictson
Copy link
Copy Markdown
Contributor

Thanks! 🙌

@mattbrictson mattbrictson merged commit e5b564c into bootstrap-ruby:master May 28, 2018
@lcreid lcreid deleted the 449-form-group branch May 29, 2018 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants