Преглед на файлове

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe преди 7 години
родител
ревизия
a3a04d984b
променени са 2 файла, в които са добавени 19 реда и са изтрити 7 реда
  1. 1 1
      Viewer/assets/templates/default/defaultViewer.html
  2. 18 6
      Viewer/assets/templates/default/navbar.html

+ 1 - 1
Viewer/assets/templates/default/defaultViewer.html

@@ -19,7 +19,7 @@
     }
 </style>
 
-<canvas class="babylonjs-canvas" id="{{canvasId}}" touch-action="none">
+<canvas class="babylonjs-canvas" touch-action="none">
 </canvas>
 
 <nav-bar></nav-bar>

+ 18 - 6
Viewer/assets/templates/default/navbar.html

@@ -213,6 +213,24 @@
         visibility: visible;
     }
 
+    .types .menu-options {
+        width: 144px;
+    }
+
+    .types .menu-options button {
+        padding: 0 8px;
+        justify-content: left;
+    }
+
+    .types .menu-options button>* {
+        display: flex;
+        margin: 8px;
+    }
+
+    .types .menu-options button span.animation-number {
+        display: none;
+    }
+
     @media screen and (min-width: 540px) {
         .help,
         .types-icon,
@@ -232,9 +250,6 @@
             margin: 0 12px;
         }
 
-        .types .menu-options {
-            width: 84px;
-        }
         .speed {
             width: 64px;
         }
@@ -277,9 +292,6 @@
         .types {
             width: 144px;
         }
-        .types .menu-options {
-            width: 144px;
-        }
     }