diff --git a/components/steps/index.jsx b/components/steps/index.jsx index 362b06234e..35a634a3bc 100644 --- a/components/steps/index.jsx +++ b/components/steps/index.jsx @@ -12,12 +12,16 @@ const AntSteps = React.createClass({ }; }, render() { + let maxDescriptionWidth = this.props.maxDescriptionWidth; + if (this.props.direction === 'vertical') { + maxDescriptionWidth = 'auto'; + } return ( {this.props.children} diff --git a/package.json b/package.json index e366b80557..3ad12c9f5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "antd", - "version": "0.9.1-beta5", + "version": "0.9.1-beta6", "stableVersion": "0.9.0", "title": "Ant Design", "description": "一个 UI 设计语言",