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

fix: fix uncentered last column on Float Grid #9952 #11115

Merged

Conversation

ncoden
Copy link
Contributor

@ncoden ncoden commented Mar 31, 2018

Changes:

  • Reposition the last column on the left/right (according to $grid-column-align-edge) when uncentered.
  • Refactor @mixin grid-column-position to handle all the float positioning and the last column hack in the same place.
  • add visual test for Float Grid uncentered columns

Closes #9952

…le float position

Handle all the float positioning of Float Grid in the same mixin. This also makes the "last column" selector used only in this mixin.
Ensure to uncenter the last column with the right specificity even when `$grid-column-align-edge`  is disabled.
@ncoden ncoden added this to the 6.5.0 milestone Apr 1, 2018
@DanielRuf
Copy link
Contributor

Will test later that day.

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.

@ncoden
Copy link
Contributor Author

ncoden commented Apr 5, 2018

Thanks for the review.
I tested all Grid visual tests btw.

@ncoden ncoden merged commit 007f4bd into foundation:develop Apr 5, 2018
@ncoden ncoden deleted the fix/float-grid-uncentered-last-column-9952 branch April 7, 2018 17:44
ncoden added a commit to ncoden/foundation-sites that referenced this pull request Jun 16, 2018
…ed-last-column-9952 for v6.5.0

50e7dab fix: fix uncenter for last column in Float Grid foundation#9952
fa07c03 refactor: add "default" position to `grid-column-positioning` to handle float position
9429539 tests: add visual test for Float Grid uncentered columns
a8f850e fix: fix last column uncentering with edge align disabled in Float Grid

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
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.

2 participants