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

[BUG] nz-col 当指定 nzOffset 时,响应式下会导致无法缩进 #101

Closed
cipchk opened this issue Aug 20, 2017 · 2 comments · Fixed by #247
Closed

[BUG] nz-col 当指定 nzOffset 时,响应式下会导致无法缩进 #101

cipchk opened this issue Aug 20, 2017 · 2 comments · Fixed by #247

Comments

@cipchk
Copy link
Member

cipchk commented Aug 20, 2017

I'm submitting a...


[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here

Current behavior

123

<div nz-form-item nz-row>
    <div nz-form-control nz-col [nzSpan]="14" [nzXs]="24" [nzOffset]="6">
        <button nz-button [nzType]="'primary'" [nzSize]="'large'">Login</button>
        <button nz-button [nzSize]="'large'">Register</button>
    </div>
</div>

nzXs 即屏幕小于 768px 时,应该同 username & password 一样靠向最左边,但受了 nzOffet 影响了。

React 版本中,[nzXs] 支持一个复合对象,类似:[nzXs]="{ span: 24, offset: 0 }"

@vthinkxie
Copy link
Member

not supported yet. to be discuss next version.

@lock
Copy link

lock bot commented Feb 19, 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 19, 2019
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