diff --git a/demo/src/index.ejs b/demo/src/index.ejs index 45d0cd3..cb568ca 100644 --- a/demo/src/index.ejs +++ b/demo/src/index.ejs @@ -47,6 +47,14 @@ opacity: 0.5; background: transparent !important; } + + @media only screen and (min-width: 1300px) { + /* reduce hit testing when using matter-tools */ + .matter-demo canvas { + position: relative; + z-index: 20; + } + } <% for (var chunk in htmlWebpackPlugin.files.js) { %>