From 7987f69f43f08015c1bc43d4397258f7e0cc2e0a Mon Sep 17 00:00:00 2001 From: haykam821 <24855774+haykam821@users.noreply.github.com> Date: Thu, 20 Mar 2025 01:50:22 -0400 Subject: [PATCH] Fix background snake size not being constrained by page width --- pages/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/index.js b/pages/index.js index 6c2b87f..0bdad52 100644 --- a/pages/index.js +++ b/pages/index.js @@ -9,11 +9,13 @@ const BackgroundSnake = styled.div` position: absolute; bottom: 0; left: 5%; + width: 90%; filter: saturate(0) opacity(0.05); `; const LazySnakeImage = styled(CardImage)` width: 500px; + max-width: 100%; height: auto; animation: fade-in linear 0.5s;