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(ui): add new section #2048

Merged
merged 2 commits into from
Dec 30, 2019
Merged

feat(ui): add new section #2048

merged 2 commits into from
Dec 30, 2019

Conversation

UnbearableBear
Copy link
Contributor

@UnbearableBear UnbearableBear commented Dec 23, 2019

Ajout d'une prop "decorated" à une section qui la "décore"
Screenshot 2019-12-23 at 17 28 12

@lionelB J'ai aussi update les snaps ici

};

const StyledSection = styled.div`
margin: ${({ decorated }) => (decorated ? spacings.medium : 0)} 0;
Copy link
Contributor

@lionelB lionelB Dec 23, 2019

Choose a reason for hiding this comment

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

we should probably add a min-height when StyledSection is decorated to avoid weird border-radius effect ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Allez !

@SocialGroovyBot SocialGroovyBot requested a deployment to staging December 30, 2019 17:16 Abandoned
@UnbearableBear UnbearableBear merged commit d5456dd into master Dec 30, 2019
@UnbearableBear UnbearableBear deleted the manu/ui-refinement branch December 30, 2019 17:17
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