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

md-checkbox doesn't center properly when md-label is blank #3793

Description

@clshortfuse

Because md-checkbox has padding to fix alignment with the its md-label child, it will this will add an additional space. md-label has a margin-left:18px value which means it will, at minimum have 18px width. This will forcelly "pad" the parent md-checkbox element by 18px regardless of content inside.

removed my fix since it didn't work

I'm creating test code right now. This may need to be done to radiobutton as well (I haven't checked, but will with my test code).

Test: http://codepen.io/anon/pen/oXMpXP

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4: minorMinor issues. May not be fixed without community contributions.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions