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

Storybook: Add margin to ButtonGroup example #17910

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

mkaz
Copy link
Member

@mkaz mkaz commented Oct 11, 2019

Description

Fixes margin issue @gziolo noticed in #17884

How has this been tested?

Confirm in Storybook (npm run design-system:dev) that space exists between two buttons

Screenshots

button-group-margin

Types of changes

Storybook.

@mkaz mkaz added the Storybook Storybook and its stories for components label Oct 11, 2019
@mkaz mkaz mentioned this pull request Oct 11, 2019
5 tasks
Copy link
Contributor

@epiqueras epiqueras left a comment

Choose a reason for hiding this comment

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

Isn't this something the ButtonGroup should do though?

@epiqueras epiqueras merged commit ec5fb41 into master Oct 11, 2019
@epiqueras epiqueras deleted the fix/button-group-stories branch October 11, 2019 20:14
@gziolo
Copy link
Member

gziolo commented Oct 14, 2019

Isn't this something the ButtonGroup should do though?

@mapk @jasmussen @davewhitley @ItsJonQ - can you have a look at this example here?

@jasmussen
Copy link
Contributor

Yes, I would say this is for the ButtonGroup to do, by applying CSS to nested Buttons, rather than having an inline style. Once you put a Button inside a ButtonGroup, it's okay for the core behavior of the Button to change in that context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storybook Storybook and its stories for components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants