diff --git a/site/404.vto b/site/404.vto index 10fc0c2..62f4a22 100644 --- a/site/404.vto +++ b/site/404.vto @@ -10,7 +10,7 @@ prevent_zoom: true } cube-scene { - height: 100dvh; + height: 100%; } cube-face { diff --git a/site/assets/css/default.css b/site/assets/css/default.css index c7fc64d..bef51dc 100644 --- a/site/assets/css/default.css +++ b/site/assets/css/default.css @@ -125,6 +125,11 @@ } } +html, body { + height: 100dvh; + width: 100dvw; +} + .text-content { @apply space-y-3; diff --git a/site/blog.vto b/site/blog.vto index b6a742a..d524fc1 100644 --- a/site/blog.vto +++ b/site/blog.vto @@ -134,8 +134,8 @@ Blog Articles canvas.style.position = "fixed"; canvas.style.top = "0"; canvas.style.left = "0"; - canvas.style.width = "100dvw"; - canvas.style.height = "100dvh"; + canvas.style.width = "100%"; + canvas.style.height = "100%"; canvas.style.zIndex = "999999999"; canvas.style.pointerEvents = "none"; diff --git a/site/index.vto b/site/index.vto index 576b2ef..2bbb4ff 100644 --- a/site/index.vto +++ b/site/index.vto @@ -9,7 +9,7 @@ prevent_zoom: true } cube-scene { - height: 100dvh; + height: 100%; } cube-face {