-
Notifications
You must be signed in to change notification settings - Fork 62
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
Paper-checkbox label does not wrap correctly #103
Labels
Comments
This is true. I wonder if this could be fixed with a flex box, and forcing the items to align at the top |
hcarmona
added a commit
to hcarmona/paper-checkbox
that referenced
this issue
Aug 16, 2016
The label doesn't take into account the width of the checkbox. This change adds a margin to the right so that the text doesn't spill over.
@notwaldorf flex box would be swell, @hcarmona's fix would probably work as well, though fyi: this is affecting chrome://md-settings |
cc @bicknellr -- I am not |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sizing the
paper-checkbox
element in any way such that the label starts to need to wrap causes the label to flow outside of the width of the element. The label appears to not wrap for a width that of the checkbox div outside of the entire element. In other words, getting rid of the checkbox div fixes the issue.Below is the usage of the checkbox in my app (excuse the label 😝):
And here is a reduced test case.
The issue is present in latest Firefox security release (44.0), as well as Chrome 50.0.2633.3. I don't have access to others.
The text was updated successfully, but these errors were encountered: