]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
match width behaviour of form-control to form-control-plaintext (#24486)
authorGijs Boddeus <botje_gijs@hotmail.com>
Sun, 22 Oct 2017 19:19:11 +0000 (21:19 +0200)
committerMark Otto <markd.otto@gmail.com>
Sun, 22 Oct 2017 19:19:11 +0000 (12:19 -0700)
scss/_forms.scss

index 3ebeae29cff2990ed83683dd7f01b9d98420419d..42f2399e87019377ff61f166d85423bcd94386a8 100644 (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