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

[Buttons] Fixed alignment related regressions #4130

Merged
merged 1 commit into from
Apr 30, 2016

Conversation

nathanmarks
Copy link
Member

@oliviertassinari

I've reduced the # of line-height props within the buttons and made it work properly with line-height at the button node by changing the font: 'inherit' prop in EnhancedButton.

If we have more problems with this I suggest we consider switching the component to flexbox sooner rather than later.

@codecov-io
Copy link

Current coverage is 38.83%

Merging #4130 into master will not change coverage

@@             master      #4130   diff @@
==========================================
  Files           137        137          
  Lines          4381       4381          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           1701       1701          
  Misses         2680       2680          
  Partials          0          0          

Powered by Codecov. Last updated by cad4cef...6837968

@oliviertassinari
Copy link
Member

oliviertassinari commented Apr 30, 2016

@nathanmarks I have also identified the line-height as the pain point. That looks good. Thanks 👍.

@nathanmarks
Copy link
Member Author

@oliviertassinari yep, the outer line height in snack bar was affecting the button. PS, check collab chat RE the codecov spam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: button This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants