SurfSense/surfsense_web/components/ui/fixed-toolbar.tsx
Anish Sarkar 9321d27021 fix: update styling and accessibility in various components
- Simplified text in DocumentsTableShell for clarity.
- Enhanced RightPanel styling for better visual consistency.
- Adjusted ChatListItem styles for improved interaction.
- Updated ReportPanelContent to include background styling and improved layout.
- Modified Drawer and FixedToolbar components for better UI integration.
2026-03-17 14:16:22 +05:30

25 lines
515 B
TypeScript

"use client";
import type * as React from "react";
import { cn } from "@/lib/utils";
import { Toolbar } from "./toolbar";
export function FixedToolbar({
children,
className,
...props
}: React.ComponentProps<typeof Toolbar>) {
return (
<Toolbar
className={cn(
"scrollbar-hide sticky top-0 left-0 z-10 w-full justify-between overflow-x-auto border-b bg-background/95 p-1 backdrop-blur supports-backdrop-filter:bg-background/60",
className
)}
{...props}
>
{children}
</Toolbar>
);
}