Skip to content

Conversation

@shawnbot
Copy link
Contributor

This PR refactors our button group (BtnGroup class) component to:

  • Use Primer SCSS variables instead of static px values
  • Use display: inline-flex instead of display: inline-block + floats
  • Add z-index: 1 to active (.selected, :focus, :active) button group items
  • Replace hard-coded Storybook stories with those generated from the Markdown docs (previously, button groups weren't even present in Storybook!)

Fixes #600

@shawnbot shawnbot mentioned this pull request Nov 15, 2018
19 tasks
Copy link
Contributor

@emilybrick emilybrick left a comment

Choose a reason for hiding this comment

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

the styling/css lgtm

@shawnbot shawnbot merged commit 358b8b6 into release-10.10.0 Nov 15, 2018
@shawnbot shawnbot deleted the button-stories branch November 15, 2018 22:54
@shawnbot shawnbot restored the button-stories branch November 19, 2018 21:57
@shawnbot shawnbot deleted the button-stories branch November 19, 2018 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants