Skip to content

Fixes #31 and #37 where icons were not properly aligned in images#40

Open
lesserj wants to merge 1 commit intocugos:mainfrom
lesserj:master
Open

Fixes #31 and #37 where icons were not properly aligned in images#40
lesserj wants to merge 1 commit intocugos:mainfrom
lesserj:master

Conversation

@lesserj
Copy link
Member

@lesserj lesserj commented Mar 19, 2020

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.

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

would love to see this merged soon, so its fixed!

@MightyPork
Copy link

The CSS fix alone fixes it perfectly for me (tried it with dev tools)

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

Successfully merging this pull request may close these issues.

3 participants