Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Wrapping the content of an md-list-item with an md-button brokes the item style #2580

Closed
elincognito opened this issue Apr 27, 2015 · 2 comments

Comments

@elincognito
Copy link

When wrapping the content of an md-list-item with an md-button the height of the item seems to be miscalculated, previously it worked fine.

Check

0.8.3: http://jsfiddle.net/forcewill/4Lmk4ejk/ works as expected
master branch: http://jsfiddle.net/forcewill/3f3jd33s/ height seems brokens

@marcysutton
Copy link
Contributor

You have to add a custom style to have flexible button heights. Just add height: auto; to your buttons and it will work.

@marcysutton
Copy link
Contributor

Actually, I think we can change height: 3.6rem to min-height: 3.6rem on mdButton and that should sort you out. I'm first looking to see if it has any negative impact.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants