From 4be73afd2d01fd998602e8fc792d11d7e6274978 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 21 Jul 2015 14:28:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E4=BA=86input-number?= =?UTF-8?q?=E5=9C=A8chrome=E4=B8=8B=E7=9A=84=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/input-number/demo/disabled.md | 2 +- style/components/inputNumber.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/input-number/demo/disabled.md b/components/input-number/demo/disabled.md index 9676db3d91..1ed71e78c4 100644 --- a/components/input-number/demo/disabled.md +++ b/components/input-number/demo/disabled.md @@ -12,7 +12,7 @@ var InputNumber = antd.InputNumber; var Test = React.createClass({ getInitialState() { return { - disabled:false + disabled: false }; }, toggle() { diff --git a/style/components/inputNumber.less b/style/components/inputNumber.less index 7b05f34b7d..05d7e6c5fa 100644 --- a/style/components/inputNumber.less +++ b/style/components/inputNumber.less @@ -93,6 +93,7 @@ content: "\e600"; .ie-rotate(2); transform: rotate(180deg); + -webkit-transform-origin: 47.5% 51%; /* fix chrome position */ } } }