feat(layout): make header sticky so it's always visible on scroll
This commit is contained in:
@@ -24,7 +24,7 @@ export function Header({ onMenuClick }: HeaderProps) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<header className="flex h-14 items-center gap-4 border-b px-4">
|
<header className="sticky top-0 z-30 flex h-14 items-center gap-4 border-b bg-background px-4">
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
size="icon"
|
size="icon"
|
||||||
|
|||||||
Reference in New Issue
Block a user