Browse Source

wip: edit some css

Jonathan Kelley 4 years ago
parent
commit
63bbc38f3f
2 changed files with 4 additions and 3 deletions
  1. 2 1
      examples/assets/calculator.css
  2. 2 2
      packages/webview/src/index.html

+ 2 - 1
examples/assets/calculator.css

@@ -8,6 +8,7 @@ html {
 body {
 body {
   margin: 0;
   margin: 0;
   font: 100 14px 'Roboto';
   font: 100 14px 'Roboto';
+  overflow: hidden;
 }
 }
 
 
 button {
 button {
@@ -52,7 +53,7 @@ button:active {
 }
 }
 
 
 #wrapper .calculator {
 #wrapper .calculator {
-  box-shadow: 0px 0px 20px 0px #aaa;
+  /* box-shadow: 0px 0px 20px 0px #aaa; */
 }
 }
 
 
 .calculator-display {
 .calculator-display {

+ 2 - 2
packages/webview/src/index.html

@@ -123,7 +123,7 @@
 
 
         async function initialize() {
         async function initialize() {
             const reply = await rpc.call('initiate');
             const reply = await rpc.call('initiate');
-            const interpreter = new Interpreter(window.document.getElementById("app").firstChild);
+            const interpreter = new Interpreter(window.document.getElementById("_dioxusroot").firstChild);
             console.log(reply);
             console.log(reply);
 
 
             for (let x = 0; x < reply.length; x++) {
             for (let x = 0; x < reply.length; x++) {
@@ -142,7 +142,7 @@
 
 
 
 
 <body>
 <body>
-    <div id="app">
+    <div id="_dioxusroot">
         _
         _
     </div>
     </div>
 </body>
 </body>