From 5a47d35d1ebd0cc60aa3529e2e9936172d81ee03 Mon Sep 17 00:00:00 2001 From: SimaQ Date: Wed, 5 Aug 2015 16:56:41 +0800 Subject: [PATCH] fix: required label style has bug in ie --- style/components/form.less | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/style/components/form.less b/style/components/form.less index 6a6558206c..1de1117601 100644 --- a/style/components/form.less +++ b/style/components/form.less @@ -6,14 +6,12 @@ label { position: relative; &[required]:before { - position: absolute; display: inline-block; - left: ~"-5px \9"; // ie8-9 + margin-right: 4px; content: "*"; - color: @label-required-color; font-family: SimSun; font-size: @font-size-base; - .translate3d(-10px; 0; 0); + color: @label-required-color; } > .@{iconfont-css-prefix} {