1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 19:06:40 +02: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) // text (without any border, background color, focus indicator)
.form-control-plaintext { .form-control-plaintext {
display: block;
width: 100%;
padding-top: $input-btn-padding-y; padding-top: $input-btn-padding-y;
padding-bottom: $input-btn-padding-y; padding-bottom: $input-btn-padding-y;
margin-bottom: 0; // match inputs if this class comes on inputs with default margins margin-bottom: 0; // match inputs if this class comes on inputs with default margins