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

When row is a gutter value, col nesting col will be affected #5135

Closed
1 task
menkeydyvh opened this issue Jan 7, 2022 · 2 comments
Closed
1 task

When row is a gutter value, col nesting col will be affected #5135

menkeydyvh opened this issue Jan 7, 2022 · 2 comments

Comments

@menkeydyvh
Copy link
Contributor

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

在row设置gutter后影响的col层级,否则通过设置在style的值对像修改处理的人并不友好

<a-row :gutter="20">
    <a-col>
        1
        <a-col>
            2
            <a-col>3</a-col>
        </a-col>
    </a-col>
</a-row>

image

What does the proposed API look like?

row上增加

props:{
    //可以指定影响层级
    gutterIndex: number || null
    //或使用boolean  [false:只影响row下的第一层col ,true:依旧影响全部 ]
    globalGutter:  boolean
}
@github-actions github-actions bot changed the title 在row 这只gutter值的时候 col 嵌套 col 都会被影响到 When row is a gutter value, col nesting col will be affected Jan 7, 2022
@github-actions
Copy link

github-actions bot commented Mar 9, 2022

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants