You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
What is the issue? * Since 1.1.4 using layout-align="center center" on an md-button changes the attribute into layout-align="center-center" which breaks(doesn't match) the normal css selector for [layout-align="center center"].
What is the expected behavior?md-button should not replace the space with a dash/hyphen.
Details:
Inspect to see that the layout-align attribute(not class) on the button replaces the space with a dash. It is not supposed to do this and it doesn't do this on other elements.
Also in a local project
This doesn't look very important because it still semi works. But it completely breaks your alignment if you have an image inside of a button and it may break other use cases. Example: profile picture in a toolbar is an image inside of a button to go to your profile page.
Notice it is not vertically centered due to this bug.
AngularJS Versions: *
AngularJS Version: 1.5.5(or 1.5.x)
AngularJS Material Version: 1.1.4(note it isn't broken in 1.1.3)
Additional Information:
Browser Type: * Chrome
Browser Version: * 58
OS: * macOS 10.12.5
Stack Traces:
Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.
Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.