We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.6.3
Chromium Version 66.0.3359.181 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)
https://ant.design/components/grid/
@import 'antd/dist/antd.less'; @grid-gutter-width: 30px;
<Row> <Col xl={12}> Missing </Col> <Col xl={12}> Padding </Col> </Row>
The class ant-col-xl-12 applied to Col component should have padding equal to @grid-gutter-width/2.
ant-col-xl-12
@grid-gutter-width/2
The xl-* and xxl-* classes are padding-less - the gutter variable is not tied to them...
I believe xl and xxl prefixes are missing here... Grid Component style source
The text was updated successfully, but these errors were encountered:
<Row gutter={30}> <Col xl={12}> Missing </Col> <Col xl={12}> Padding </Col> </Row>
Sorry, something went wrong.
@afc163 thats a quick fix, but the issue still exists and you just ignored it. I don't want to pollute the JSX with explicit gutter everywhere.
Hello, I've just come across the same issue.
I will reopen this if you guys provide a reproducible github repository.
yesmeck
No branches or pull requests
Version
3.6.3
Environment
Chromium Version 66.0.3359.181 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)
Reproduction link
https://ant.design/components/grid/
Steps to reproduce
What is expected?
The class
ant-col-xl-12
applied to Col component should have padding equal to@grid-gutter-width/2
.What is actually happening?
The xl-* and xxl-* classes are padding-less - the gutter variable is not tied to them...
I believe xl and xxl prefixes are missing here...
Grid Component style source
The text was updated successfully, but these errors were encountered: