]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
inline-flex and width: 100% for stacked/vertical variation
authorMark Otto <markdotto@gmail.com>
Tue, 27 Dec 2016 22:36:55 +0000 (14:36 -0800)
committerMark Otto <markd.otto@gmail.com>
Wed, 28 Dec 2016 06:37:50 +0000 (22:37 -0800)
shoutout to @Starsam80 for the fix

scss/_button-group.scss

index c2e5a6b00238798877a7feae5ee703a0a31828fd..1d921a74a3e631b8b16d63c89b3ccc1186fae2ff 100644 (file)
 //
 
 .btn-group-vertical {
-  display: flex;
+  display: inline-flex;
   flex-direction: column;
   align-items: flex-start;
   justify-content: center;
 
   .btn,
   .btn-group {
-    flex: 0 1 auto;
+    width: 100%;
   }
 
   > .btn + .btn,