Skip to content
Snippets Groups Projects
Commit e5d52044 authored by johnshaughnessy's avatar johnshaughnessy
Browse files

Support different screen sizes and uploaded glb files.

parent 1f773cdd
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,8 @@
font-size: 1.3em;
padding-left: 8%;
padding-right: 0%;
width: 80%;
white-space: nowrap;
}
:local(.fileNameLabel) {
......@@ -45,6 +47,7 @@
align-self: center;
padding-left: 8%;
padding-right: 0%;
width: 80%;
}
:local(.form) {
......
......@@ -85,6 +85,7 @@ AFRAME.registerComponent("media-loader", {
this.el.setAttribute("image-plus", { src: blobUrl || raw, contentType });
this.el.setAttribute("position-at-box-shape-border", { target: ".delete-button", dirs: ["forward", "back"] });
} else if (
contentType.indexOf("application/octet-stream") !== -1 ||
contentType.indexOf("x-zip-compressed") !== -1 ||
contentType.startsWith("model/gltf") ||
url.endsWith(".gltf") ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment