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
Interactive Checkbox position mis-aligned [css] #1840
Comments
Unfortunately, the problem is we're trying to style a system component, which is going to look different on every platform. I think the right solution is to stop messing with relative positioning and trying to size it so it falls in the right position. How does it look if you try these styles?
|
I agree with your opinion on messing with relative positioning. Unfortunately changing the height doesn't solve the issue, it only makes the box smaller and in my opinion looks worse. I couldn't think of any other solution considering that I think the ideal thing would be to totally remove the |
The problem is that what is better on your machine is worse on mine. So better is relative ;)
I agree. We might just need to let it fall where it falls. |
I did my very best to try to make the position of the checkbox consistent across browsers. However, this is a very difficult element to style consistently. I mostly left it up to the browser, with some small margin tweaks to keep the spacing consistent. |
Interactive checkbox are misaligned under osx-chrome and osx-firefox (where I checked). Using:
Gives you an output that looks like this:
When it really should be properly aligned like this:
By changing
top: 1px
totop: -1px
inul.checklist li>p:first-child>input[type="checkbox"]:first-child{width:1em;position:relative;top:1px}
Non-interactive mode looks fine.
The text was updated successfully, but these errors were encountered: