diff --git a/packages/webui/components/compare/compare-pane-topbar.tsx b/packages/webui/components/compare/compare-pane-topbar.tsx index e0baa547..e6d7544c 100644 --- a/packages/webui/components/compare/compare-pane-topbar.tsx +++ b/packages/webui/components/compare/compare-pane-topbar.tsx @@ -40,12 +40,15 @@ export function ComparePaneTopbar({ onSwitchVersion, onExit, }: ComparePaneTopbarProps) { + const iconButtonClass = cn( + 'flex-shrink-0 rounded p-1 transition-colors', + isActive + ? 'text-background/70 hover:bg-background/20 hover:text-background' + : 'text-muted-foreground hover:bg-accent hover:text-foreground', + ) + const exitButton = ( - ) @@ -53,11 +56,21 @@ export function ComparePaneTopbar({ const label = (