Skip to content
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

Add grid 0 to grid size list as it is in official ant Grid System #702

Closed
boubouhkarim opened this issue Dec 8, 2017 · 2 comments · Fixed by #704
Closed

Add grid 0 to grid size list as it is in official ant Grid System #702

boubouhkarim opened this issue Dec 8, 2017 · 2 comments · Fixed by #704
Assignees

Comments

@boubouhkarim
Copy link

boubouhkarim commented Dec 8, 2017

What problem does this feature solve?

Grid 0 is so important (e.g [nzXs]="0") as it allow us to hide content according to breakpoints (xs, sm, md, lg, xl), and it is provided on official ANT documentation for React

What does the proposed API look like?

<div nz-col [nzXs]="24" [nzSm]="24" [nzMd]="8" [nzLg]="5" [nzXl]="5">
    DIV 01
</div>
<div nz-col [nzXs]="0" [nzSm]="0" [nzMd]="16" [nzLg]="19" [nzXl]="19">
    DIV 02 not shown on small screens
</div>
@vthinkxie
Copy link
Member

will be supported in next version.

@lock
Copy link

lock bot commented Feb 18, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 18, 2019
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants