LeaVerou / inspire.js

Lean, hackable, extensible slide deck framework. Previously known as CSSS.
https://inspirejs.org
MIT License
1.73k stars 254 forks source link

Do not use percentage for `width` on an SVG `object` element #153

Open xfq opened 6 years ago

xfq commented 6 years ago

width/height on object only accepts CSS pixels. This patch removes the width attribute, because it doesn't seem to be needed.

(This commit also removes the trailing whitespace in index.html. You can add ?w=1 to the URL to see the diff with whitespace ignored. Thank you!)