diff --git a/frontend/src/Pages/Herosection.css b/frontend/src/Pages/Herosection.css index 59cf529..fdbb1ce 100644 --- a/frontend/src/Pages/Herosection.css +++ b/frontend/src/Pages/Herosection.css @@ -2,14 +2,14 @@ @tailwind components; @tailwind utilities; -body{ +body { padding: 0; margin: 0; - - background-image: url('../assets/mixbg.png'); + background-image: url('../assets/mixbg.png'); background-size: cover; background-position: center; height: 100vh; - width: 100%; + width: 100vw; + overflow-x : hidden; + position: relative; } - diff --git a/frontend/src/Pages/Herosection.jsx b/frontend/src/Pages/Herosection.jsx index f5830ea..0509f55 100644 --- a/frontend/src/Pages/Herosection.jsx +++ b/frontend/src/Pages/Herosection.jsx @@ -27,9 +27,10 @@ const Herosection = () => {