fix: style issues

This commit is contained in:
cssivision 2016-11-12 23:29:00 +08:00
parent a1fb32491a
commit 8f2863b776

View File

@ -24,6 +24,7 @@ var Canvas = React.createClass({
source={{html: "<style>*{margin:0;padding:0;}canvas{transform:translateZ(0);}</style><canvas></canvas><script>var canvas = document.querySelector('canvas');(" + renderString + ").call(" + contextString + ", canvas);</script>"}}
opaque={false}
underlayColor={'transparent'}
style={this.props.style}
javaScriptEnabled={true}
scrollEnabled={false}
/>