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

Update spacer utilities #22123

Merged
merged 4 commits into from
Mar 5, 2017
Merged

Update spacer utilities #22123

merged 4 commits into from
Mar 5, 2017

Conversation

mdo
Copy link
Member

@mdo mdo commented Mar 5, 2017

This PR simplifies our spacer utilities a bit by cleaning up the variables for them. Instead of having separate variables for $spacer-x and $spacer-y, we just have $spacer`. The extra reassignment didn't add any value and we were only using those other variables in a handful of places.

Overall, just a small cleanup with two variables being removed (and one being moved down the file).

Fixes #21836.

mdo added 2 commits March 5, 2017 00:53
- Also move -width to elsewhere in the vars because it makes no sense by spacers.
- Update values of -x and -y across main Sass and docs Sass.
@mdo mdo added this to the v4.0.0-beta milestone Mar 5, 2017
@mdo mdo merged commit ed1de86 into v4-dev Mar 5, 2017
@mdo mdo deleted the spacer-utils branch March 5, 2017 20:20
@mdo mdo mentioned this pull request Mar 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant