aboutsummaryrefslogtreecommitdiff
path: root/scss/_forms.scss
diff options
context:
space:
mode:
authorGijs Boddeus <[email protected]>2016-12-20 23:45:08 +0100
committerMark Otto <[email protected]>2016-12-20 14:45:08 -0800
commit1c2f372aadfe8ff7a0bdb4f0884e44f03a7dae91 (patch)
tree26678d8d5be8af2721e964ed888de9d2a950504a /scss/_forms.scss
parent37de11e386e069938e2a6adeac2f961fe7314fa5 (diff)
downloadbootstrap-1c2f372aadfe8ff7a0bdb4f0884e44f03a7dae91.tar.xz
bootstrap-1c2f372aadfe8ff7a0bdb4f0884e44f03a7dae91.zip
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
Diffstat (limited to 'scss/_forms.scss')
-rw-r--r--scss/_forms.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss
index d31836f90..672d9dfc1 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 {