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

Overflow problem #129

Open
applibs opened this issue Nov 29, 2020 · 0 comments
Open

Overflow problem #129

applibs opened this issue Nov 29, 2020 · 0 comments

Comments

@applibs
Copy link

applibs commented Nov 29, 2020

When I use in browser zoom to 125% for example on some items I see part of another item on last pixel line. Its due sprite is calculated in percent like this: background-position: 15.384615384615385% 97.29729729729729%; and browser will wrong recalculate it. I tried use this config:

shape: {
            spacing: {
                padding: 2
            }

        },

but it is also problem because items are bigger of 4 pixels. When I used png sprites in the past I used margin to 4px and it was fixed well.
Can you improve this tool to generate spite with margin?

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

1 participant