From: Mark Otto Date: Thu, 28 Jan 2021 09:39:36 +0000 (-0800) Subject: Update checks and radios in input groups (#32912) X-Git-Tag: v5.0.0-beta2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51ca9a9e2f3b19ccdcd2ff4c7d0d8ec42a69d3db;p=thirdparty%2Fbootstrap.git Update checks and radios in input groups (#32912) - Adds .mt-0 to the examples - Zero-ing out universally for all of them like in #32896 would cause issues for those who include the input with visible label text, where the text and input would be misaligned --- diff --git a/site/content/docs/5.0/forms/input-group.md b/site/content/docs/5.0/forms/input-group.md index 0e0836b5f7..19ffcbcfd4 100644 --- a/site/content/docs/5.0/forms/input-group.md +++ b/site/content/docs/5.0/forms/input-group.md @@ -81,19 +81,19 @@ Add the relative form sizing classes to the `.input-group` itself and contents w ## Checkboxes and radios -Place any checkbox or radio option within an input group's addon instead of text. +Place any checkbox or radio option within an input group's addon instead of text. We recommend adding `.mt-0` to the `.form-check-input` when there's no visible text next to the input. {{< example >}}
- +
- +