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

Reduce number of spacing rules #23208

Merged
merged 2 commits into from
Aug 11, 2017
Merged

Conversation

mstone6769
Copy link

The goal was to reduce the number of generated spacing rules. We do this by combining x & y rules with top, bottom, right, and left rules

.mx#{$infix}-auto {
margin-right: auto !important;
margin-left: auto !important;
margin-right: auto !important;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the spaces after : that don't make sense to have like here and the other places you edited?

@XhmikosR XhmikosR requested a review from mdo August 3, 2017 07:05
@mstone6769
Copy link
Author

During my testing I saw a reduction 6,228 bytes in the minified file by combining the x & y rules with the t, r, b, l rules

@mdo mdo merged commit b76357d into twbs:v4-dev Aug 11, 2017
@mdo mdo mentioned this pull request Aug 11, 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.

4 participants