]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Reset input padding for cross browser consistency (#28208)
authorShohei Yoshida <ysds.code@gmail.com>
Thu, 9 May 2019 17:40:40 +0000 (02:40 +0900)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 9 May 2019 18:30:32 +0000 (21:30 +0300)
scss/_forms.scss

index bc7e3ef62a8cc3bb5c562964dcd1827bbb3d82b1..a290270d74310a00fe2915cbb321fd63bc69568f 100644 (file)
@@ -110,8 +110,7 @@ select.form-control {
 .form-control-plaintext {
   display: block;
   width: 100%;
-  padding-top: $input-padding-y;
-  padding-bottom: $input-padding-y;
+  padding: $input-padding-y 0;
   margin-bottom: 0; // match inputs if this class comes on inputs with default margins
   @include font-size($input-font-size);
   line-height: $input-line-height;