Skip to content

Commit

Permalink
Merge pull request #537 from xkrishguptaa/patch-1
Browse files Browse the repository at this point in the history
fix: repetitive tailwind config
  • Loading branch information
mkubdev authored Oct 5, 2023
2 parents f58683a + c29e406 commit 12fedbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/site-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import { ThemeToggle } from "@/components/theme-toggle"

export function SiteHeader() {
return (
<header className="sticky top-0 z-999 w-full border-b bg-background">
<header className="sticky top-0 z-[999] w-full border-b bg-background">
<div className="container flex h-20 items-center space-x-4 sm:justify-between sm:space-x-0">
<MainNav items={siteConfig.mainNav} />
</div>
</header>
)
}


3 changes: 0 additions & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ module.exports = {
},
},
extend: {
zIndex: {
999: 999,
},
colors: {
border: "hsl(var(--border))",
input: "hsl(var(--input))",
Expand Down

1 comment on commit 12fedbc

@vercel
Copy link

@vercel vercel bot commented on 12fedbc Oct 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.