diff options
author | Jeff <jeffkleinaitis@gmail.com> | 2024-04-02 15:20:36 -0400 |
---|---|---|
committer | Jeff <jeffkleinaitis@gmail.com> | 2024-04-02 15:20:36 -0400 |
commit | b0ecd41426a52b738742f1df6cdd82925a715f79 (patch) | |
tree | 1963a5203a675b55075bd1b58e07b9bc5253cdf6 /components | |
parent | 1f90f5ccd9b14cc39293057dd40d9de5e08baf20 (diff) |
fix: prevent login button in nav bar from wrapping on window size change
Diffstat (limited to 'components')
-rw-r--r-- | components/navbar.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/navbar.js b/components/navbar.js index ce5c5d0..5d8db61 100644 --- a/components/navbar.js +++ b/components/navbar.js @@ -13,7 +13,7 @@ const Navbar = () => { return ( <div className="w-full"> - <nav className="container relative flex flex-wrap items-center justify-between p-8 mx-auto lg:justify-between xl:px-0"> + <nav className="container relative flex flex-wrap items-center justify-between p-8 mx-auto lg:justify-between lg:flex-nowrap lg:px-0.5 xl:px-0"> {/* Logo */} <Disclosure> {({ open }) => ( @@ -64,7 +64,7 @@ const Navbar = () => { {item} </Link> ))} - <Link href="/" className="w-full px-6 py-2 mt-3 text-center text-white bg-indigo-600 rounded-md lg:ml-5"> + <Link href="/login" className="w-full px-6 py-2 mt-3 text-center text-white bg-indigo-600 rounded-md lg:ml-5"> Login </Link> </> @@ -88,7 +88,7 @@ const Navbar = () => { </div> <div className="hidden mr-3 space-x-4 lg:flex nav__item"> - <Link href="/" className="px-6 py-2 text-white bg-indigo-600 rounded-md md:ml-5"> + <Link href="/login" className="px-6 py-2 text-white bg-indigo-600 rounded-md md:ml-5"> Login </Link> |