From f4831f0a2ef077360b03127e3d29504039fde7c3 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 7 Jan 2017 18:54:23 +0800 Subject: CHG: Improve all components --- src/buttons.less | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/buttons.less') diff --git a/src/buttons.less b/src/buttons.less index b4e6c93..f2beca0 100644 --- a/src/buttons.less +++ b/src/buttons.less @@ -3,7 +3,7 @@ -webkit-appearance: none; background: #fff; border: .1rem solid @core-color; - border-radius: .3rem; + border-radius: @border-radius; color: @core-link-color; cursor: pointer; display: inline-block; @@ -81,7 +81,6 @@ // Button Small &.btn-sm { - border-radius: .2rem; font-size: 1.2rem; height: 2.4rem; line-height: 1.4rem; @@ -90,7 +89,6 @@ // Button Large &.btn-lg { - border-radius: .4rem; font-size: 1.8rem; height: 4.2rem; line-height: 2rem; @@ -128,9 +126,7 @@ // Button groups .btn-group { display: inline-flex; - flex-wrap: nowrap; - max-width: 100%; - overflow-x: auto; + flex-wrap: wrap; .btn { flex: 1 0 auto; -- cgit v1.3.1-26-gb76a