Browse Source

remove border from diagrams

Gregg (Greggman/GMan) Tavares 7 years ago
parent
commit
bc4281e4f3
2 changed files with 4 additions and 2 deletions
  1. 1 1
      build/templates/diagram.template
  2. 3 1
      threejs/lessons/resources/lesson.css

+ 1 - 1
build/templates/diagram.template

@@ -1,5 +1,5 @@
 <div class="threejs_diagram_container">
-  <iframe class="threejs_example {{className}}" style="width: {{width}}px; height: {{height}}px;" src="{{{examplePath}}}{{{url}}}"></iframe>
+  <iframe class="threejs_diagram {{className}}" style="width: {{width}}px; height: {{height}}px;" src="{{{examplePath}}}{{{url}}}"></iframe>
   {{#caption}}
   <div class="threejs_center">{{{../caption}}}</div>
   {{/caption}}

+ 3 - 1
threejs/lessons/resources/lesson.css

@@ -228,11 +228,13 @@ iframe {
 iframe.body {
   height: 100vh;
 }
-iframe.threejs_example {
+iframe.threejs_example, iframe.threejs_diagram {
   border: none;
   margin-left: auto;
   margin-right: auto;
   display: block;
+}
+iframe.threejs_example {
   border: 1px solid black;
 }
 iframe.noborder {