Skip to content

Commit

Permalink
feat: Made the navbar fixed on screen and changed image properties
Browse files Browse the repository at this point in the history
  • Loading branch information
a2ys committed Aug 8, 2024
1 parent c75e8d1 commit 7366f99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Home() {
return (
<main className={montserrat.className}>
<div className="container mx-auto px-4 text-white">
<div className="min-h-screen flex flex-col justify-center scale-[110%] -mt-20">
<div className="min-h-screen flex flex-col justify-center scale-[110%] lg:-mt-20">
<Image
src="/bitwarsLogo.png"
alt="logo"
Expand Down
2 changes: 1 addition & 1 deletion src/components/navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Navbar = () => {

return (
<div
className={`${montserrat.className} px-6 py-4 lg:px-8 lg:py-6 flex justify-between items-center relative z-50`}
className={`${montserrat.className} px-6 py-4 lg:px-8 lg:py-6 flex justify-between items-center lg:relative z-50 fixed top-0 left-0 w-full`}
>
{isOpen && (
<section
Expand Down

0 comments on commit 7366f99

Please sign in to comment.