refactor: update UI components to enhance hover effects and color consistency

This commit is contained in:
Anish Sarkar 2026-05-13 23:53:09 +05:30
parent a9252913cf
commit 75b7a9cc6c
90 changed files with 237 additions and 208 deletions

View file

@ -318,8 +318,7 @@ export function ReportPanelContent({
}, []);
const exportButton = !isEditing && (
<>
{isResume ? (
isResume ? (
<Button
variant="ghost"
size="icon"
@ -354,8 +353,7 @@ export function ReportPanelContent({
/>
</DropdownMenuContent>
</DropdownMenu>
)}
</>
)
);
const versionSwitcher = !isEditing && versions.length > 1 && (
@ -456,9 +454,9 @@ export function ReportPanelContent({
variant="ghost"
size="icon"
onClick={onClose}
className="h-8 w-8 rounded-full shrink-0"
className="h-8 w-8 rounded-full shrink-0 text-muted-foreground hover:text-accent-foreground"
>
<XIcon className="h-4 w-4 text-muted-foreground" />
<XIcon className="h-4 w-4" />
<span className="sr-only">Close report panel</span>
</Button>
)}