Check out the demo by clicking here: http://codepen.io/audiodude/pen/vLyNvw
The main distinction between the top and bottom sections lies in the fact that the top section utilizes an md-button
with an ng-href
attribute, which Angular Material compiles into an a
tag. On the other hand, the bottom section features a standard md-button
that is compiled as a button
tag. Interestingly, despite this difference, both buttons receive the same styling from the .md-button
class.
The crucial question remains: Why does the menu appear to be pushed onto a new line in the top example?