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

MD-Checkbox Without Label has Different Vertical Alignment #813

Closed
ijager opened this issue Jul 5, 2016 · 1 comment · Fixed by #1721
Closed

MD-Checkbox Without Label has Different Vertical Alignment #813

ijager opened this issue Jul 5, 2016 · 1 comment · Fixed by #1721
Labels
help wanted The team would appreciate a PR from the community to address this issue P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@ijager
Copy link

ijager commented Jul 5, 2016

Bug:

When I don't provide text between the <md-checkbox></md-checkbox> tags the vertical alignment is different then when text is provided <md-checkbox> my-text </md-checkbox>

What is the expected behavior?

I would expect that checkbox alignment does not depend on the presence of a label.

What are the steps to reproduce?

See this plunker: https://plnkr.co/edit/kbBb7a?p=preview

What is the use-case or motivation for changing an existing behavior?

I want to use md-checkbox in a html <table>, therefore I don't need a label since the table header already takes care of that.

Which versions of Angular, Material, OS, browsers are affected?

Angular RC.x, Material Alpha.6, all browsers

@jelbourn jelbourn added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label Jul 14, 2016
@jelbourn jelbourn added this to the alpha.8 milestone Jul 14, 2016
@jelbourn jelbourn added the help wanted The team would appreciate a PR from the community to address this issue label Jul 14, 2016
@jelbourn jelbourn modified the milestone: alpha.8 Nov 1, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted The team would appreciate a PR from the community to address this issue P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
3 participants