-
Notifications
You must be signed in to change notification settings - Fork 79
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
draw icons not centered #31
Comments
lesserj
added a commit
to lesserj/bboxfinder.com
that referenced
this issue
Mar 19, 2020
…n images The 2x version of the button sprite had different proportions from the 1x version of the sprite, so the background-size property was incorrect and icons were not correctly positioned on some screens. Updating to the latest Leaflet.Draw didn't fix the issue and in fact made it worse, so I just modified the sprites to match so the only difference is the 2x scale.
I suppose it depends on a wrong version of leaflet draw @aaronr Same problem in Chrome: |
@lesserj may be you could send a PR? |
This was referenced Sep 21, 2023
Open
I have this bug in both chrome and firefox on a non-hiDPI display under X11. It does not happen on my laptop which uses Wayland. The button with circle actually draws a rectangle. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
background position off...
Chrome 31.0.1650.63 and Safari 7.0 (9537.71)
Should we just add css overrides, or is there a larger issue here?
The text was updated successfully, but these errors were encountered: