Add padding around boundary area
krimeshu opened this issue · 5 comments
When I cut icon images align it's boundary, and then found display problems on some android devices browser.
The sprite image looks like this: (dark area means padding of spritesmith)
So I have to keep another padding when I cut the images, to achieve the effect like that:
It's boring and not effective, could spritesmith help me add the boundary padding like that? It whill solve my big problem, thx~
Could you elaborate on the problem you are encountering?
Ah, I see. Setting background-repeat: no-repeat
in the CSS should resolve that. It's caused by scaling images and why we initially introduced padding
as an option:
Oh, I forgot adding it to my automatic tasks... Maybe this problem won't show on most android devices again, thank you!
I'm glad that resolved that issue =)