feat: update layout
This commit is contained in:
parent
f41536a793
commit
8b1c2ebe3f
30 changed files with 230 additions and 250 deletions
|
|
@ -2,15 +2,18 @@ import { cn } from '@/lib/utils'
|
|||
|
||||
export function Titlebar({
|
||||
children,
|
||||
className
|
||||
className,
|
||||
hideBottomBorder = false
|
||||
}: {
|
||||
children?: React.ReactNode
|
||||
className?: string
|
||||
hideBottomBorder?: boolean
|
||||
}) {
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'sticky top-0 w-full h-12 z-40 bg-background [&_svg]:size-5 [&_svg]:shrink-0 select-none',
|
||||
!hideBottomBorder && 'border-b',
|
||||
className
|
||||
)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue