From 0bd869bbc2651608b51544f7a5c3fe5dfee5fe56 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 26 Jul 2015 15:05:32 +0800 Subject: [PATCH] iconfont --- style/components/button.less | 2 -- style/mixins/button.less | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/style/components/button.less b/style/components/button.less index cc9297e333..107992650b 100644 --- a/style/components/button.less +++ b/style/components/button.less @@ -45,8 +45,6 @@ &-menu { > .@{iconfont-css-prefix} { .iconfont-size-under-12px(10px); - position: relative; - top: -1px; } } diff --git a/style/mixins/button.less b/style/mixins/button.less index 80ba4b73e2..cc03a34fb3 100644 --- a/style/mixins/button.less +++ b/style/mixins/button.less @@ -88,8 +88,9 @@ transform: translate3d(0, 0, 0); > .@{iconfont-css-prefix} { - z-index: 2; line-height: 1; + position: relative; + top: -1px; } &,