Skip to content

Commit

Permalink
fix nav bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ezhil56x committed Aug 6, 2024
1 parent 4e21680 commit 065d16d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Nav = () => {
return (
<div>
<header className="bg-blue-950 text-white">
<nav>
<nav className='overflow-x-auto scrollbar-hidden'>
<div className="flex justify-between items-center w-full px-5 md:px-10 py-4">
<div className='hidden md:block'>
<Link href="/">
Expand Down
8 changes: 4 additions & 4 deletions app/form/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ export default function FormPage() {
</FormControl>
<SelectContent>
<SelectItem value="development">
Development (Web Development and Open Source)
Development (Web Development)
</SelectItem>
<SelectItem value="technical">
Technical (CTF and Projects)
Technical (Cybersecurity & CTF)
</SelectItem>
<SelectItem value="design">Design</SelectItem>
<SelectItem value="event">
Expand Down Expand Up @@ -345,10 +345,10 @@ export default function FormPage() {
</FormControl>
<SelectContent>
<SelectItem value="development">
Development (Web Development and Open Source)
Development (Web Development)
</SelectItem>
<SelectItem value="technical">
Technical (CTF and Projects)
Technical (Cybersecurity & CTF)
</SelectItem>
<SelectItem value="design">Design</SelectItem>
<SelectItem value="event">
Expand Down
8 changes: 8 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,11 @@
@apply bg-background text-foreground;
}
}

.scrollbar-hidden {
scrollbar-width: none;
}

.scrollbar-hidden::-webkit-scrollbar {
display: none;
}

0 comments on commit 065d16d

Please sign in to comment.