-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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 class which removes gutter between columns #13551
Conversation
|
||
.no-gutter | ||
{ | ||
margin-left: 0 !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think using !important
is gonna fly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, you're right. It's unnecessary.
// Remove gutter between columns in row | ||
|
||
.no-gutter | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this brace on a new line?
We'll pass on adding this for now. |
@mdo Can you explain why are you passing this for now? Do you have any other plans about removing gutter, or you don't want it at all? |
This is just feature, new possibility. IMO quite useful. Some elements don't needs gutter, but should use grid system. Just new quite usefull idea. Some developers asking for solution to remove defult gutter for some elements. |
It adds ".no-gutter" class for rows, which removes columns gutter. I've used attribute selector to omit enlarging of grid.