-
Notifications
You must be signed in to change notification settings - Fork 373
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
Add special className to style boolean cells (checkbox) in Vanilla package #1865
Add special className to style boolean cells (checkbox) in Vanilla package #1865
Conversation
Thanks for the contribution, we'll take a look very soon! ❤️ |
Nice! Thanks @sdirix what do you think about the order of At the moment only added the class to style the checkbox. But the order remains the same as with |
Can you point me to some occurrences where the input is defined within a label? I'm not aware of that pattern. The MDN documentation also doesn't showcase it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you take a look at the failing test cases?
9277648
to
ff27e63
Compare
Uhmm maybe is just me. I always do checkbox/radio this way. But maybe is not something standard. Feel free to ignore. |
I think I fixed the specs, let me know if it works. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks again for the contribution ;) |
What?
Hi I was using the lib and I noticed Vanilla React has the same styles for
input type='text'
andinput type='checkbox'
. Would be possible to have different styles? This way is easier to style itOrder
Also noticed when is a checkbox boolean the position is the same as with
type=text
Now:
Wouldn't be better to put the cell inside the label?
I think is a common practice for checkboxes
Changing the order checkbox can look like this
Thanks!