refactor: update UI component styles and interactions

- Increased gap between action items in Header for improved layout.
- Added onCloseAutoFocus to ChatShareButton for better focus management.
- Enhanced ChevronDown icon in ModelSelector with rotation effect for better visual feedback.
- Adjusted padding in ModelSelector to maintain consistent spacing.
This commit is contained in:
Anish Sarkar 2026-01-20 18:28:50 +05:30
parent 1a0503f683
commit 26ca751a9d
3 changed files with 8 additions and 4 deletions

View file

@ -125,6 +125,7 @@ export function ChatShareButton({ thread, onVisibilityChange, className }: ChatS
className="w-[280px] md:w-[320px] p-0 rounded-lg shadow-lg border-border/60"
align="end"
sideOffset={8}
onCloseAutoFocus={(e) => e.preventDefault()}
>
<div className="p-1.5 space-y-1">
{/* Updating overlay */}