Skip to content

Commit 26c10f3

Browse files
committed
fix(frontend): hero mobile improvements
1 parent e0b2642 commit 26c10f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/frontend/src/pages/servers/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
src="~/assets/images/games/maze.png"
2525
alt=""
2626
aria-hidden="true"
27-
class="pointer-events-none absolute inset-0 h-full max-h-[1080px] w-screen scale-125 select-none opacity-50"
27+
class="pointer-events-none absolute inset-0 hidden h-full max-h-[1080px] w-screen scale-125 select-none opacity-50 sm:visible"
2828
style="mask-image: linear-gradient(black, transparent 80%)"
2929
/>
3030

@@ -61,7 +61,7 @@
6161
class="pointer-events-none relative flex h-full w-full flex-row items-end gap-24 md:-mt-24"
6262
>
6363
<div
64-
class="absolute left-0 right-0 top-0 max-h-[80%] overflow-hidden"
64+
class="absolute left-0 right-0 top-0 -mt-24 max-h-[80%] overflow-hidden sm:mt-0"
6565
style="mask-image: linear-gradient(black, transparent 80%)"
6666
>
6767
<img

0 commit comments

Comments
 (0)