Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix mobile (#966)

PickleNikcb7c759cdaff
diff --git a/apps/web/src/app/[locale]/not-found.tsx b/apps/web/src/app/[locale]/not-found.tsx
index 32f52774..0d388d9d 100644
--- a/apps/web/src/app/[locale]/not-found.tsx
+++ b/apps/web/src/app/[locale]/not-found.tsx
@@ -6,7 +6,7 @@ export default async function NotFound() {
const randomChallengeSlug = await getRandomChallenge();
return (
- <div className="relative -mt-[56px] flex h-full flex-col items-center justify-center gap-8">
+ <div className="relative -mt-[56px] flex h-full flex-col items-center justify-center gap-8 overflow-hidden">
<Image
className="animate-amogfly absolute left-0 -z-10 mx-auto opacity-80"
alt="Early Access"
diff --git a/apps/web/src/styles/globals.css b/apps/web/src/styles/globals.css
index a31236f3..202b7397 100644
--- a/apps/web/src/styles/globals.css
+++ b/apps/web/src/styles/globals.css
@@ -664,18 +664,18 @@ a {
}
.animate-amogfly {
- transform: translateX(-10vw);
+ transform: translateX(-33vw);
animation: amogfly 15s 2s linear infinite forwards;
}
.th-amogfly {
- transform: translateX(-10vw);
+ transform: translateX(-33vw);
animation: thfly 25s 15.25s linear infinite forwards;
}
@keyframes thfly {
0% {
- transform: translateX(-10vw);
+ transform: translateX(-33vw);
}
100% {
transform: translateX(1337vw) rotate(6969deg);
@@ -684,7 +684,7 @@ a {
@keyframes amogfly {
0% {
- transform: translateX(-10vw);
+ transform: translateX(-33vw);
filter: hue-rotate(0deg) brightness(200%);
}
100% {