Reputation: 2350
html:
<body id="app">
<md-button>
Yo
</md-button>
</body>
Looks:
Why button with 100% height? But at materials docs they looks like inline element.
And material directives without replace option:
But at materials docs all directives replaced with templates.
What is wrong?
Upvotes: 1
Views: 1937
Reputation: 5784
You are probably using an old version. Angular-material is in heavy development. Also you may want to try using layout="horizontal"
(note in 0.6.0-rc1 horizontal
has changed to row
) on your body element so that it is displayed right. Try reading the layout docs
If you have a plunkr I could probably help you out more but I hope the above solves your problems.
Upvotes: 3