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

Intro & Step Component Bug Fixes #98

Merged
merged 8 commits into from
Jun 8, 2020
Merged

Conversation

zstix
Copy link
Contributor

@zstix zstix commented Jun 5, 2020

Description

This PR solves a few different issues with the Intro and Step components (see screenshots):

  • Intro components with more than 2 children displayed incorrectly
  • Intro component had no mobile styles
  • Step component had no mobile styles

Since the Intro and Step components both had the concept of allowing markdown, but needing an optional component to be rendered alongside, I went ahead an abstracted that work to a SideBySide component (naming things is hard). This helped clean up those other components and provides us with a way to keep content aligned in a more uniform way.

There's a minor issue with the CodeSnippet copy button on mobile, but I felt like that was out of scope of this PR.

Reviewer Notes

Our current pages should not look different, but we can now add more content to the Intro component section. We also have the ability to specify the direction of the content (left / right).

Related Issue(s) / Ticket(s)

Screenshot(s)

Good: Desktop
Screen Shot 2020-06-05 at 4 18 28 PM

Bad: Desktop
Screen Shot 2020-06-05 at 4 19 56 PM

Good: Mobile Intro
Screen Shot 2020-06-05 at 4 20 39 PM

Bad: Mobile Intro
Screen Shot 2020-06-05 at 4 20 11 PM

Good: Mobile Step (see copy button note in description)
Screen Shot 2020-06-05 at 4 20 47 PM

Bad: Mobile Step
Screen Shot 2020-06-05 at 4 20 17 PM

@zstix zstix added bug Something isn't working enhancement New feature or request labels Jun 5, 2020
@zstix zstix requested a review from LizBaker June 5, 2020 23:31
Copy link
Contributor

@LizBaker LizBaker left a comment

Choose a reason for hiding this comment

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

🚄

@LizBaker LizBaker merged commit dd4b15b into master Jun 8, 2020
@LizBaker LizBaker deleted the zstickles/intro-component-fixes branch June 8, 2020 17:57
@nr-opensource-bot
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants