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

Add new marginSize prop #281

Merged
merged 1 commit into from
Nov 16, 2022
Merged

Add new marginSize prop #281

merged 1 commit into from
Nov 16, 2022

Conversation

zpao
Copy link
Owner

@zpao zpao commented Nov 8, 2022

This allows specifying the margin size (in modules) rather than just allowing 0 or 4. While 4 is still encouraged to comply with spec, this allows people to do what they need.

For the next major version, includeMargin will continue to work, but marginSize will override and includeMargin will be removed for the following major version.

This allows specifying the margin size (in modules) rather than just
allowing 0 or 4. While 4 is still encouraged to comply with spec, this
allows people to do what they need.

For the next major version, `includeMargin` will continue to work, but
`marginSize` will override and `includeMargin` will be removed for the
following major version.
@zpao zpao added this to the 4.0.0 milestone Nov 8, 2022
@zpao zpao merged commit f734bcd into trunk Nov 16, 2022
@zpao zpao deleted the marginsize branch November 16, 2022 22:34
@zpao zpao linked an issue Aug 18, 2023 that may be closed by this pull request
@zpao zpao mentioned this pull request Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

how to control margin size
1 participant