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

Courses: expanded list of recent courses needs spacers #16369

Merged
merged 1 commit into from Jul 12, 2017

Conversation

breville
Copy link
Member

No description provided.

@breville
Copy link
Member Author

cc @tanyaparker

link={course.link}
isRtl={isRtl}
/>
{(index % 2 === 0) && <div style={styles.spacer}>.</div>}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this spacer going to be a common thing used throughout our code? I wonder if we should just have a Spacer component?

Would also be nice to include a screenshot.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, screenshots on my machine were broken yesterday :)

I think we'll switch over to using flexbox for components such as these because it can do justified layout which solves the need for these horizontal spacers.

@breville breville merged commit d79702c into staging Jul 12, 2017
@breville breville deleted the add-spacing-to-expanded-recent-courses branch July 12, 2017 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants