refactor: enhance UI components with dark mode support and streamline tooltip usage across toolbar buttons

This commit is contained in:
Anish Sarkar 2026-02-17 02:26:43 +05:30
parent 6af251a108
commit d4ad1dcae4
9 changed files with 21 additions and 26 deletions

View file

@ -74,7 +74,7 @@ export function FloatingToolbar({
{...rootProps}
ref={ref}
className={cn(
'scrollbar-hide absolute z-50 overflow-x-auto whitespace-nowrap rounded-md border bg-popover p-1 opacity-100 shadow-md print:hidden',
'scrollbar-hide absolute z-50 overflow-x-auto whitespace-nowrap rounded-md border bg-popover p-1 opacity-100 shadow-md print:hidden dark:bg-neutral-800 dark:border-neutral-700',
'max-w-[80vw]',
className
)}