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

Retina problem? #225

Closed
artyomLisovskij opened this issue Apr 25, 2017 · 3 comments
Closed

Retina problem? #225

artyomLisovskij opened this issue Apr 25, 2017 · 3 comments
Labels

Comments

@artyomLisovskij
Copy link

I'm using vertical align for sprite but see parts of next images: http://joxi.ru/p273dZ7Cy10D27
On this screenshot i've added bottom padding but it isn't help.

svg-sprite --css --css-render-css --css-example --css-layout=vertical -p 0,0,2,0 --dest=out *.svg

Any suggestions?

@artyomLisovskij
Copy link
Author

In the best way i don't need any paddings in css, need only in sprite. How can i compile that?

@jkphl jkphl added the question label May 30, 2017
@jkphl
Copy link
Collaborator

jkphl commented May 30, 2017

@artyomLisovskij First of all sorry for the late reply!

First of all: which browser were you using when you made that screenshot? There's a known bug with Internet Explorer (and possibly other browsers) that's the result of rounding issues during display. I will start doing a complete rewrite shortly and try to address this issue then.

Regarding your second question: I recommend including the the padding directly inside your original SVG files. svg-sprite will preserve them when rendering the sprite (i.e. the SVG files won't be cropped or anything).

@jkphl
Copy link
Collaborator

jkphl commented May 30, 2017

I'll close this one in favour of #142, which will be addressed in the next milestone release. Please feel free to reactivate this thread though if you've still got any issues. Thanks!

@jkphl jkphl closed this as completed May 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants