inline-flex and width: 100% for stacked/vertical variation

shoutout to @Starsam80 for the fix
This commit is contained in:
Mark Otto 2016-12-27 14:36:55 -08:00 committed by Mark Otto
parent 5d0ec572d4
commit d2479cf5f0
1 changed files with 2 additions and 2 deletions

View File

@ -149,14 +149,14 @@
// //
.btn-group-vertical { .btn-group-vertical {
display: flex; display: inline-flex;
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
justify-content: center; justify-content: center;
.btn, .btn,
.btn-group { .btn-group {
flex: 0 1 auto; width: 100%;
} }
> .btn + .btn, > .btn + .btn,