Skip to content

svg dimensions from viewBox if no width/height. - #34

Open
MaxYari wants to merge 1 commit into
gavro:masterfrom
MaxYari:patch-1
Open

svg dimensions from viewBox if no width/height.#34
MaxYari wants to merge 1 commit into
gavro:masterfrom
MaxYari:patch-1

Conversation

@MaxYari

@MaxYari MaxYari commented Jan 2, 2017

Copy link
Copy Markdown

Added simple non-breaking addition to look up SVG's viewBox property in case there no width/height properties. It's a crime to not event attemp to do that as ViewBox is used rather often (i had some screwed up icons in my scss due them having no width/height but viewBox).

Added simple non-breaking addition to look up SVG's viewBox property in case there no width/height properties. It's a crime to not event attemp to do that as ViewBox is used rather often (i had some screwed up icons in my scss due them having no width/height but viewBox).
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.

1 participant