Skip to content

Updated svg block to be responsive#85

Open
zenmedia wants to merge 1 commit intobenkeen:masterfrom
zenmedia:master
Open

Updated svg block to be responsive#85
zenmedia wants to merge 1 commit intobenkeen:masterfrom
zenmedia:master

Conversation

@zenmedia
Copy link
Copy Markdown

After implementing the d3pie plugin we found that on smaller screens the pie graph was cut off. I have added the attributes preserveAspectRatio and viewBox to the SVG element to allow for the pie graph to be responsive and resize accordingly.

Added preserveAspectRatio and viewBox to the SVG element to allow for responsive changes.
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