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

feat(card): add ray-card--row #101

Merged
merged 10 commits into from
May 17, 2019
Merged

feat(card): add ray-card--row #101

merged 10 commits into from
May 17, 2019

Conversation

cmugla
Copy link

@cmugla cmugla commented May 16, 2019

Screen Recording 2019-05-17 at 01 41 PM

TODO:

  • stack on mobile/tablet
  • add in the heading font styles
  • add all the aspect ratios

@cmugla cmugla requested a review from adamraider as a code owner May 16, 2019 23:18
@cmugla
Copy link
Author

cmugla commented May 16, 2019

we may want to add breakpoint logic to this ray-card--row-desktop, etc

UPDATE: this card should only be row on desktop, switch to stacked on mobile and tablet

@cmugla cmugla requested a review from adamraider May 17, 2019 17:53
adamraider
adamraider previously approved these changes May 17, 2019
Copy link
Contributor

@adamraider adamraider left a comment

Choose a reason for hiding this comment

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

Nice, consider adding responsive stories

@@ -2,8 +2,14 @@ import React from 'react';
import { storiesOf } from '@storybook/react';

import getPlaceholderURL from './util/placeholder';
import settings from '../src/global/js/settings';

const viewports = Object.values(settings.breakpointsInPixels).filter(Boolean);
Copy link
Contributor

Choose a reason for hiding this comment

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

we'll probs want to put this in a util, but this is cool for now

@cmugla cmugla merged commit d45d2d8 into master May 17, 2019
@delete-merged-branch delete-merged-branch bot deleted the cg/card-horizontal branch May 17, 2019 20:11
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.

3 participants