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 .gap utilities #32074
Add .gap utilities #32074
Conversation
@@ -93,3 +95,17 @@ The syntax is nearly the same as the default, positive margin utilities, but wit | |||
margin-top: -0.25rem !important; | |||
} | |||
``` | |||
|
|||
## Gap |
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.
Maybe we should move Negative margin and Horizontal centering to an h2
?
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.
Opted for another organization to separate margin and padding from gap, since the two behave differently.
Following up on #32066 and the responsive
.btn-block
classes in #31995. If this is going well, I'm hoping we can add a quick commit here (or another PR) to remove.btn-block
and replace it withd-grid
andgap
utilities.Preview: https://deploy-preview-32074--twbs-bootstrap.netlify.app/docs/5.0/utilities/spacing/#gap