Skip to content
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

Open
abenrob opened this issue Dec 18, 2013 · 3 comments
Open

draw icons not centered #31

abenrob opened this issue Dec 18, 2013 · 3 comments

Comments

@abenrob
Copy link

abenrob commented Dec 18, 2013

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?

bbox_finder

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.
@stefanocudini
Copy link

I suppose it depends on a wrong version of leaflet draw

@aaronr Same problem in Chrome:
image

@stefanocudini
Copy link

@lesserj may be you could send a PR?

This was referenced Sep 21, 2023
@MightyPork
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants