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
vertical spacing between Row. #4410
Comments
Just |
Wouldn't that mean the margin on the bottom isn't responsive the way gutter is? It would be nice to have something responsive. |
I also think this feature request makes sense |
In my case, i wanted to reduce the default space between Rows, and marginBottom was not helpful (since it adds more space). So as a workaround for now, i have set height on column to make it work. |
Vote for the vgutter feature, it doesn't make sense to have gutter only on horizontal axis instead of both (horizontal and vertical) |
I think we need to have this feature in the next release. @afc163 |
+1. Any updates for this? |
I think the request is misleading. What the grid system indeed misses is not a marginBottom between rows, but a gutter between (vertically) stacked columns inside a row. |
How come the issue has been closed? I think the use case is common |
|
Also for
|
This should be considered fundamental. |
I actually think [nzGutter]="[8,8]" will do the trick |
Since the status of this issue is a bit confusing: It has been implemented in #18979 but slightly different then discussed above. This works now: From the docs: |
Didn't work for me, I'm on antd 4.12.3 I'm using this array format to set vertical and horizontal gutter but it ignores the vertical one and just applies the horizontal. If I give a number as gutter value then too it's applied in horizontal direction only. |
I can tell it was working... we upgraded to antd 4 recently and then another upgrade to its latest version. It just stopped working somewhere in between. |
Agree with @rizwanliaqat97 , having the same issue after update of antd |
Didn't work on 4.12.3 either. It adds row-gap property but the row-gap only works in a grid layout. |
Experiencing the same issue with vertical gutter as well after updating antd |
having the same issue on 4.15.3 |
Same issue on 4.15.3.
|
This issue is still occurring in 4.16.3 When will this get resolved? |
I ended up creating my own implementation of
LESS:
|
I'm struggling here as well. However, for me it seems to work nicely (even having different values for horizontal and vertical) keeping all Cols in one Row and I just wanted to share it:
|
Same as @robbash, I had multiple rows, but the vertical gutter was not working. Moving everything into one row seems to have worked. |
I want to have vertical spacing between Row, similar to gutter.
Something like
vgutter
will help.The text was updated successfully, but these errors were encountered: