]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Apply `align-items: center;` to `.input-group` instead of input group sub components...
authorPatrick Yeo <patrick.yeo@liferay.com>
Tue, 2 May 2017 00:59:21 +0000 (17:59 -0700)
committerMark Otto <markd.otto@gmail.com>
Sun, 13 Aug 2017 01:22:48 +0000 (18:22 -0700)
scss/_input-group.scss

index 4d3fec656d731d9ceefcbbc42dfc5da148469abc..40bc50a537e505afa8f9fb6a3e962f7f99f3eb0a 100644 (file)
@@ -5,6 +5,7 @@
 .input-group {
   position: relative;
   display: flex;
+  align-items: center;
   width: 100%;
 
   .form-control {
 .input-group-addon,
 .input-group-btn,
 .input-group .form-control {
-  // Vertically centers the content of the addons within the input group
-  display: flex;
-  align-items: center;
-
   &:not(:first-child):not(:last-child) {
     @include border-radius(0);
   }