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

cube: fix scrolling on firefox mobile

This commit is contained in:
RGBCube 2025-06-02 14:44:58 +03:00
parent 1af6dbe028
commit d12bd07f49
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -5,6 +5,7 @@
html {
font-size: min(9svw, 9svh, 4.5rem);
overscroll-behavior: none;
}
/* Guess what? Yeah, you guessed right. Safari can't render shit. */
@ -18,7 +19,6 @@
<cube-scene class="
h-dvh w-dvw
overscroll-none
flex items-center justify-center
perspective-[calc(var(--cube-width)*3)]
">