mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
css: make html and body occupy fullscreen
This commit is contained in:
parent
490886b5f4
commit
9ec127293a
4 changed files with 9 additions and 4 deletions
|
@ -10,7 +10,7 @@ prevent_zoom: true
|
||||||
}
|
}
|
||||||
|
|
||||||
cube-scene {
|
cube-scene {
|
||||||
height: 100dvh;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
cube-face {
|
cube-face {
|
||||||
|
|
|
@ -125,6 +125,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html, body {
|
||||||
|
height: 100dvh;
|
||||||
|
width: 100dvw;
|
||||||
|
}
|
||||||
|
|
||||||
.text-content {
|
.text-content {
|
||||||
@apply space-y-3;
|
@apply space-y-3;
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ prevent_zoom: true
|
||||||
}
|
}
|
||||||
|
|
||||||
cube-scene {
|
cube-scene {
|
||||||
height: 100dvh;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
cube-face {
|
cube-face {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue