1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-31 13:07:46 +00:00

css: make html and body occupy fullscreen

This commit is contained in:
RGBCube 2025-06-03 04:37:28 +03:00
parent 490886b5f4
commit 9ec127293a
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
4 changed files with 9 additions and 4 deletions

View file

@ -10,7 +10,7 @@ prevent_zoom: true
} }
cube-scene { cube-scene {
height: 100dvh; height: 100%;
} }
cube-face { cube-face {

View file

@ -125,6 +125,11 @@
} }
} }
html, body {
height: 100dvh;
width: 100dvw;
}
.text-content { .text-content {
@apply space-y-3; @apply space-y-3;

View file

@ -134,8 +134,8 @@ Blog Articles
canvas.style.position = "fixed"; canvas.style.position = "fixed";
canvas.style.top = "0"; canvas.style.top = "0";
canvas.style.left = "0"; canvas.style.left = "0";
canvas.style.width = "100dvw"; canvas.style.width = "100%";
canvas.style.height = "100dvh"; canvas.style.height = "100%";
canvas.style.zIndex = "999999999"; canvas.style.zIndex = "999999999";
canvas.style.pointerEvents = "none"; canvas.style.pointerEvents = "none";

View file

@ -9,7 +9,7 @@ prevent_zoom: true
} }
cube-scene { cube-scene {
height: 100dvh; height: 100%;
} }
cube-face { cube-face {