-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve layout #1082
Improve layout #1082
Conversation
By analyzing the blame information on this pull request, we identified @pizn to be a potential reviewer |
一个比较方便兼容原有 API 的响应式 API 方式: <Row>
<Col md={{ span: 8, offset: 1, pull: 1 }} lg={{ span: 12, offset: 1, pull: 1 }}></Col>
<Col md={{ span: 16, offset: 1, pull: 1 }} lg={{ span: 12, offset: 1, pull: 1 }}></Col>
</Row> |
|
||
ReactDOM.render( | ||
<Row> | ||
<Col xs={0} sm={4} md={6} lg={8} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
看了下其他栅格实现,都没有对 0 的处理,例子我改掉。
做了点修改 268fac6 |
👍 |
👍 |
Layout布局不支持响应式 #494 layout api 参考 #871