Skip to content

Commit

Permalink
Fix support rule in site-header.tsx (shadcn-ui#1628)
Browse files Browse the repository at this point in the history
Fixes shadcn-ui#1627 if that is desired.
  • Loading branch information
ollema authored Oct 19, 2023
1 parent f427a88 commit 7171591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/site-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { buttonVariants } from "@/registry/new-york/ui/button"

export function SiteHeader() {
return (
<header className="supports-backdrop-blur:bg-background/60 sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur">
<header className="sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
<div className="container flex h-14 items-center">
<MainNav />
<MobileNav />
Expand Down

0 comments on commit 7171591

Please sign in to comment.