Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Update Grid Stories #2315

Merged
merged 28 commits into from
Oct 15, 2019
Merged

Update Grid Stories #2315

merged 28 commits into from
Oct 15, 2019

Conversation

sareh
Copy link
Contributor

@sareh sareh commented Oct 4, 2019

Resolves #2287 and #2286

Overall change:
Fix and clean up Gris stories.

Code changes:

  • Add groups 0-5 to stories.
  • Remove Simple example using gelGutters and gelMargins story as it is basically the same as Slice layout for 6 or 10 items.
  • Add a new story using a Top story and regular promos to simulate the future Front Pages layout.
  • Rewrite Normal slice layout for 1 or 5 items story as Normal slice layout for 2, 6 or 10 items where the <ExampleImage /> and the <ExampleParagraph /> are contained within just one Grid item, instead of being separated in two Grid items within a Grid parent, otherwise that kind of layout breaks on IE, because of a wrong width calculation.
    I opened a separate issue to fix this if it is necessary, but we need to double-check with Sareh first.

  • I have assigned myself to this PR and the corresponding issues
  • Automated jest tests added (for new features) or updated (for existing features)
  • This PR requires manual testing

@sareh sareh self-assigned this Oct 4, 2019
@sareh sareh added the grid Work on the new grid implementation label Oct 4, 2019
@DenisHdz DenisHdz self-assigned this Oct 8, 2019
@DenisHdz DenisHdz added the ws-home Tasks for the WS Home Team label Oct 8, 2019
@DenisHdz DenisHdz marked this pull request as ready for review October 10, 2019 14:54
@tochwill tochwill self-requested a review October 15, 2019 10:19
Copy link
Contributor

@j-pendlebury j-pendlebury left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@amywalkerdev amywalkerdev merged commit e907619 into latest Oct 15, 2019
@amywalkerdev amywalkerdev deleted the grid-stories-fix branch October 15, 2019 12:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grid Work on the new grid implementation shared-components ws-home Tasks for the WS Home Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grid component: Top story slice layout broken in IE
7 participants