Skip to content

Commit

Permalink
minor issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Basir Khan committed Nov 28, 2023
1 parent 7521bd1 commit 86f6dca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/pages/components/Navabar.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,22 @@ const Navbar = () => {
<div className="flex flex-col gap-y-4 gap-x-0 mt-5 md:flex-row md:items-center md:justify-end md:gap-y-0 md:gap-x-7 md:mt-0 md:pl-7">
<Link
className="font-medium text-white md:py-6 dark:text-white"
href="#features"
href="/#features"
aria-current="page"
>
Features
</Link>
<Link
className="font-medium text-white md:py-6 dark:text-white"
href="#services"
href="/#services"
aria-current="page"
>
Services
</Link>

<Link
className="font-medium text-white hover:text-white md:py-6 dark:text-gray-white"
href="#price"
href="/#price"
>
Pricing
</Link>
Expand All @@ -94,7 +94,7 @@ const Navbar = () => {
</Link>
<Link
className="font-medium text-white hover:text-white md:py-6 dark:text-gray-white "
href="#team"
href="/#team"
>
Team
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Index = () => {
</Head>
{/* adding overflow x hidden for small devices so the content don't overflow out of the screen. */}

<div className='overflow-x-hidden md:overflow-x-auto'>
<div className='sm:overflow-x-hidden md:overflow-x-auto overflow-auto'>
<Hero/>
<Analytics/>

Expand Down
6 changes: 5 additions & 1 deletion src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@ scroll-behavior: smooth;
transform: translateX(100%);
}
}

*{
scroll-behavior: smooth;
margin: 0;
padding: 0;
}

0 comments on commit 86f6dca

Please sign in to comment.