Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

Move canvas controls to left side to help with smaller screens

Scott Petrovic42d1934cc0b5
diff --git a/src/index.html b/src/index.html
index b169046..2399751 100644
--- a/src/index.html
+++ b/src/index.html
@@ -12,20 +12,22 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
<!-- Top toolbar with mouse controls -->
- <div id="mouse-controls">
+ <div id="header-ui">
+
<div>
- <span><a href="https://mesh2motion.org"><img src="images/mesh2motion.svg" width="200" style="vertical-align: middle;"/></a></span>
+ <a href="https://mesh2motion.org"><img src="images/mesh2motion.svg" width="200" style="vertical-align: middle;"/></a>
</div>
<div>
- <span><img src="images/mouse-left.svg" height="35" width="35" style="vertical-align: middle;"/> Rotate (Left drag)</span>
+ <img src="images/mouse-left.svg" height="35" width="35" style="vertical-align: middle;"/> Rotate (Left drag)
</div>
+
<div>
- <span><img src="images/mouse-right.svg" height="35" width="35" style="vertical-align: middle;"/> Pan (Right drag)</span>
+ <img src="images/mouse-right.svg" height="35" width="35" style="vertical-align: middle;"/> Pan (Right drag)
</div>
<div>
- <span><img src="images/mouse-middle.svg" height="35" width="35" style="vertical-align: middle;"/> Zoom (Middle scroll)</span>
+ <img src="images/mouse-middle.svg" height="35" width="35" style="vertical-align: middle;"/> Zoom (Middle scroll)
</div>
</div>
diff --git a/src/styles.css b/src/styles.css
index e7ffa59..51f2404 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -346,9 +346,10 @@ input[type="file"] {
/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}
- #mouse-controls {
+#header-ui {
display: flex;
- gap: 24px;
+ gap: 2px;
+ flex-direction: column;
}
/* Tooltip container */