Browse Source

Fixed animation slider for sandbox + touch support

David Catuhe 7 years ago
parent
commit
25585dd2a1
2 changed files with 3 additions and 2 deletions
  1. 2 1
      sandbox/index.css
  2. 1 1
      sandbox/index.html

+ 2 - 1
sandbox/index.css

@@ -173,6 +173,7 @@ a {
     font-weight: bold;
     width: calc(100% - 168px);
     bottom: 12px;
+    min-height: 30px;
 }
 
 .row {
@@ -210,7 +211,7 @@ a {
 }
 
 #playBtn {
-    margin-left: 40px;
+    margin-left: 20px;
     margin-right: 20px;
     border: none;
     background-color: inherit;

+ 1 - 1
sandbox/index.html

@@ -37,7 +37,7 @@
 </head>
 
 <body>
-    <canvas id="renderCanvas"></canvas>
+    <canvas id="renderCanvas" touch-action="none"></canvas>
     <div id="logo">
     </div>
     <div id="footer" class="footer">