From 1c2f372aadfe8ff7a0bdb4f0884e44f03a7dae91 Mon Sep 17 00:00:00 2001 From: Gijs Boddeus Date: Tue, 20 Dec 2016 23:45:08 +0100 Subject: [PATCH] Overwrite margin-bottom on form-control-static (#21270) * Overwrite margin-bottom on form-control-static In the documentation the form-control-static class has been used on a p element. On the regular vertical form the margin bottom of the p element gets overwritten by a mb-0 class. In the inline form example this class hasn't been applied, therefore the p element gets a margin-bottom. To prevent this behavior we can add a margin-bottom of 0. * Update _forms.scss --- scss/_forms.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/scss/_forms.scss b/scss/_forms.scss index d31836f906..672d9dfc18 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -346,6 +346,7 @@ select.form-control-lg { // Make static controls behave like regular ones .form-control-static { display: inline-block; + margin-bottom: 0; } .input-group {