mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
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
This commit is contained in:
parent
37de11e386
commit
1c2f372aad
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user