From 707973ebdd2ea058b297456ee6c7b0a27b725089 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 2 Oct 2019 12:19:45 -0700 Subject: [PATCH] v5: .form-check layout changes (#29322) * Scope .form-check-input layout to the .form-check parent * Remove margin-bottom from list-group-items in case they are label elements * document .form-check in input groups and list groups, and cleanup the no-label examples in the main .form-check docs --- scss/_list-group.scss | 1 + scss/forms/_form-check.scss | 7 ++- .../content/docs/4.3/components/list-group.md | 57 +++++++++++++++++++ site/content/docs/4.3/forms/checks.md | 11 ++-- site/content/docs/4.3/forms/input-group.md | 4 +- 5 files changed, 71 insertions(+), 9 deletions(-) diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 6ac5e55187..057eb8057d 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -46,6 +46,7 @@ position: relative; display: block; padding: $list-group-item-padding-y $list-group-item-padding-x; + margin-bottom: 0; // for