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

Hotfix/gh404 lost center global flex issue #405

Merged
merged 3 commits into from
Mar 1, 2018

Conversation

peterramsing
Copy link
Owner

What kind of change is this? (Bug Fix, Feature...)
Bugfix

What is the current behavior (You can also link to an issue)
See #404

What is the new behavior this introduces (if any)
Fixes #404 to act as it should

Does this introduce any breaking changes?
I certainly hope not

Does the PR fulfill these requirements?

  • Tests for the changes have been added
    - [ ] Docs have been added or updated

@codecov
Copy link

codecov bot commented Feb 27, 2018

Codecov Report

Merging #405 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #405   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          19     19           
  Lines         701    701           
=====================================
  Hits          701    701
Impacted Files Coverage Δ
lib/lost-center.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2999fe9...7dc19d7. Read the comment docs.

@steve-holland
Copy link
Contributor

Hey Peter,

Sorry I've been awol for so long, I've been absolutely snowed under at work. I'm actually finishing my current project today, so your timing is absolutely spot on! I should have time to take a look at this tomorrow for you, hopefully it can wait until then.

All the best,
Steve

@peterramsing
Copy link
Owner Author

Funny ‘cause I’ve been the same way. Being snowed under with work is never a bad thing, though! Glad you’re staying busy!

Copy link
Contributor

@steve-holland steve-holland left a comment

Choose a reason for hiding this comment

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

Apart from my extremely nitpicky comment (which you can quite happily ignore if you want), all look good stuff to me!

@@ -32,6 +36,8 @@ module.exports = function lostCenterDecl(css, settings, result) {
lostCenterFlexbox = 'no-flex';
}

lostCenterFlexbox = lgLogic.parseLostProperty(decl.parent.nodes, 'lost-center-flexbox', lostCenterFlexbox);

Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean to leave this line blank? Wasn't sure it it was significant? If it is I'll shut up, otherwise it would neaten it up a very tiny bit :)

Copy link
Owner Author

@peterramsing peterramsing Feb 28, 2018

Choose a reason for hiding this comment

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

You're not the first person who's commented on my whitespace. I love it to a fault. I'll clean that up! Thanks for catching that!

@peterramsing peterramsing merged commit 75dbc58 into master Mar 1, 2018
@peterramsing peterramsing deleted the hotfix/gh404_lost_center_global_flex_issue branch March 1, 2018 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lost-center no-flex flag seems to be broken in ^8.1.0 (working in 8.0.0)
2 participants