From 04d48ba5049d38db9f367442372128f7202cc9b1 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 25 Dec 2016 14:22:03 -0800 Subject: [PATCH] Replaces #21270 with proper fix Rather than overriding this just on inline form examples, this should be for all static form controls to match inputs. --- scss/_forms.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/_forms.scss b/scss/_forms.scss index 0f0a3de308..29d2944240 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -135,6 +135,7 @@ select.form-control { .form-control-static { padding-top: $input-padding-y; padding-bottom: $input-padding-y; + margin-bottom: 0; // match inputs if this class comes on inputs with default margins line-height: $input-line-height; border: solid transparent; border-width: 1px 0; @@ -338,7 +339,6 @@ select.form-control-lg { // Make static controls behave like regular ones .form-control-static { display: inline-block; - margin-bottom: 0; } .input-group {