Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: remove $-zf-size from non-responsive XY Grid classes generation #11361

Merged

Conversation

ncoden
Copy link
Contributor

@ncoden ncoden commented Jun 28, 2018

Description

This PR resolve and issue with $-zf-size being used outside of a breakpoint and without fallback, leading to various warnings and discreet side-effects.

$-zf-size is only set within breakpoints. Breakpoints are not expected to be used for the xy-vertical-grid-classes() mixin.

[This fix is compatible with v6.5]

Motivation and Context

Note: a more appropriate fix would be to rely on the xy-cell() mixin instead of xy-cell-static() to fully support explicit/implicit/null breakpoint option. However this may introduce breaking changes, so this will be kept for v6.6.0.

Screenshots (if appropriate):

Types of changes

  • Documentation
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing
    functionality to change)

Checklist (all required):

  • I have read and follow the CONTRIBUTING document.
  • There are no other pull request similar to this one.
  • The pull request title is descriptive.
  • The template is fully and correctly filled.
  • The pull request targets the right branch (develop or support/*).
  • My commits are correctly titled and contain all relevant information.
  • My code follows the code style of this project.
  • I have updated the documentation accordingly to my changes (if relevant).
  • I have added tests to cover my changes (if relevant).
  • All new and existing tests passed.

`$-zf-size` is only set within breakpoints. Breakpoints are not expected to be used around the `xy-vertical-grid-classes()` mixin.

Note: a more appropriate fix would be to rely on the `xy-cell()` mixin instead of `xy-cell-static()` to fully support explicit/implicit/null breakpoint option. However this may introduce breaking changes, so this will be kept for v6.6.0.

[This fix is compatible with v6.5]
@ncoden ncoden requested a review from DanielRuf June 28, 2018 17:43
@ncoden ncoden self-assigned this Jun 28, 2018
@ncoden ncoden added this to the 6.5.0 milestone Jun 28, 2018
@marvinhuebner
Copy link

Hey @ncoden,

tested your changes, works fine now! Thanks.

@ncoden
Copy link
Contributor Author

ncoden commented Jun 29, 2018

Thank you @marvinhuebner for the review.

Copy link
Contributor

@DanielRuf DanielRuf left a comment

Choose a reason for hiding this comment

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

No more warnings 👍

@ncoden ncoden merged commit c66b7bc into foundation:develop Jun 29, 2018
ncoden added a commit to ncoden/foundation-sites that referenced this pull request Jul 6, 2018
…side-of-breakpoint for v6.5.0

a4cac3f fix: remove $-zf-size from non-responsive XY Grid classes generation

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
ncoden added a commit to ncoden/foundation-sites that referenced this pull request Jul 8, 2018
…side-of-breakpoint for v6.5.0

a4cac3f fix: remove $-zf-size from non-responsive XY Grid classes generation

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
@ncoden ncoden mentioned this pull request Jul 8, 2018
10 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SCSS compiling issue in Foundation sites v6.5.0rc
3 participants