From 12b22ebad65c10fb22b5dc55b785a70158005199 Mon Sep 17 00:00:00 2001 From: Gijs Boddeus Date: Sat, 21 Jan 2017 21:25:24 +0100 Subject: [PATCH] fix segmented buttons (#21716) * fix segmented buttons changed flex-direction to row centering is now done by align-items instead of justify-content this way there is no need for flex property on the .btn inside .btn-group * Update _input-group.scss --- scss/_input-group.scss | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scss/_input-group.scss b/scss/_input-group.scss index ab44883bd1..49cdf28300 100644 --- a/scss/_input-group.scss +++ b/scss/_input-group.scss @@ -30,8 +30,7 @@ .input-group .form-control { // Vertically centers the content of the addons within the input group display: flex; - flex-direction: column; - justify-content: center; + align-items: center; &:not(:first-child):not(:last-child) { @include border-radius(0); @@ -144,8 +143,6 @@ // element above the siblings. > .btn { position: relative; - // Vertically stretch the button and center its content - flex: 1; + .btn { margin-left: (-$input-btn-border-width); -- 2.47.2