From 255eac907949ded5b79f216a29831dcf4afa9362 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 17 Jul 2017 15:55:03 +0800 Subject: [PATCH] Fix vertical tabs arrow style --- components/tabs/style/index.less | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/components/tabs/style/index.less b/components/tabs/style/index.less index 98ec6ab260..135168e900 100644 --- a/components/tabs/style/index.less +++ b/components/tabs/style/index.less @@ -47,8 +47,6 @@ &-tab-next { user-select: none; z-index: 2; - margin-right: -2px; - margin-top: 2px; width: 32px; height: 100%; line-height: 32px; @@ -72,15 +70,15 @@ vertical-align: baseline; position: absolute; top: 50%; - margin-top: -50%; + left: 50%; + transform: translate(-50%, -50%); text-align: center; text-transform: none; - font-family: sans-serif; - .iconfont-size-under-12px(10px); &:before { display: block; font-family: "anticon" !important; + .iconfont-size-under-12px(10px); } } }