diff --git a/web_demo/multiple_apps.html b/web_demo/multiple_apps.html index 14d0d5cf..096dd2d1 100644 --- a/web_demo/multiple_apps.html +++ b/web_demo/multiple_apps.html @@ -1,4 +1,3 @@ - @@ -21,11 +20,6 @@ display: flex; } - .canvas_wrap { - /* height: 200px; */ - width: 400px; - } - @media (prefers-color-scheme: dark) { body { /* Dark mode background color for what is not covered by the egui canvas, @@ -37,24 +31,14 @@ /* Allow canvas to fill entire web page: */ html, body { - overflow: hidden; - margin: 0 !important; - padding: 0 !important; height: 100%; - width: 100%; } - /* Position canvas in center-top: */ canvas { - /* margin-right: auto; - margin-left: auto; */ - /* display: block; - position: absolute; - top: 0%; - left: 50%; - transform: translate(-50%, 0%); */ + margin: 8px; + padding: 8px; width: 45%; - height: 90%; + height: 98%; } .centered { @@ -106,19 +90,14 @@
-