From c28034efa710eeea1ed53cf0ff77e99b9633165c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BE=BD=E8=88=AA?= Date: Thu, 17 Sep 2015 14:18:06 +0800 Subject: [PATCH] =?UTF-8?q?update=20rc-steps=20v1.3.1=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?iframe=E6=9D=A5=E7=9B=91=E6=8E=A7resize=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E3=80=82=E6=9C=AA=E6=9D=A5=E4=B8=8D=E6=94=AF=E6=8C=81ie8?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E5=86=8D=E8=BF=87=E6=B8=A1=E5=88=B0=E7=BA=AF?= =?UTF-8?q?css=E5=AE=9E=E7=8E=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- style/components/steps.less | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 083faccb2e..b64525332f 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "rc-radio": "~2.0.0", "rc-select": "~4.9.0", "rc-slider": "~1.4.0", - "rc-steps": "~1.3.0", + "rc-steps": "~1.3.1", "rc-switch": "~1.2.0", "rc-table": "~3.2.0", "rc-tabs": "~5.3.2", diff --git a/style/components/steps.less b/style/components/steps.less index b8e34c000c..adc3c61d69 100644 --- a/style/components/steps.less +++ b/style/components/steps.less @@ -21,11 +21,22 @@ -moz-transition: @transition; } +.@{steps-prefix-cls}-resize-frame { + height: 0; + background-color: transparent; + margin: 0; + padding: 0; + overflow: hidden; + border-width: 0; + position: absolute; + width: 100%; +} + .@{steps-prefix-cls} { font-size: 0; width: 100%; line-height: 1.5; - + position: relative; .@{steps-prefix-cls}-item { position: relative; display: inline-block;