1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

match width behaviour of form-control to form-control-plaintext (#24486)

This commit is contained in:
Gijs Boddeus 2017-10-22 21:19:11 +02:00 committed by Mark Otto
parent 6824f71795
commit 7bb82a5fb1

View file

@ -127,6 +127,8 @@ select.form-control {
// text (without any border, background color, focus indicator)
.form-control-plaintext {
display: block;
width: 100%;
padding-top: $input-btn-padding-y;
padding-bottom: $input-btn-padding-y;
margin-bottom: 0; // match inputs if this class comes on inputs with default margins