From d01d23d1a60807fb5453c4a250a6544652436f60 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 6 Apr 2016 14:20:32 +0800 Subject: add cards code and update new demo images --- src/buttons.less | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/buttons.less') diff --git a/src/buttons.less b/src/buttons.less index 47f10ff..29c8e18 100644 --- a/src/buttons.less +++ b/src/buttons.less @@ -169,12 +169,10 @@ } .btn-group { - display: inline-block; - vertical-align: middle; - .clearfix(); + display: inline-flex; .btn { - float: left; + flex: 1 0 auto; &:first-child:not(:last-child) { border-top-right-radius: 0; @@ -192,4 +190,8 @@ z-index: 99; } } + + &.btn-group-block { + display: flex; + } } \ No newline at end of file -- cgit v1.3.1-26-gb76a