feat: add tooltips, fix back button inverse color (#2023)

This commit is contained in:
Salman Mohammed
2025-04-03 14:35:13 -04:00
committed by GitHub
parent 02e29ed131
commit 51edc0c7af
2 changed files with 3 additions and 1 deletions

View File

@@ -147,6 +147,7 @@ const SessionHistoryView: React.FC<SessionHistoryViewProps> = ({
<div className="ml-auto flex items-center space-x-4">
<button
onClick={handleShare}
title="Share Session"
disabled={!canShare || isSharing}
className={`flex items-center text-textStandardInverse px-2 py-1 ${
canShare
@@ -168,6 +169,7 @@ const SessionHistoryView: React.FC<SessionHistoryViewProps> = ({
<button
onClick={onResume}
title="Resume Session"
className="flex items-center text-textStandardInverse px-2 py-1 hover:font-bold hover:scale-110 transition-all duration-150"
>
<Sparkles className="w-7 h-7" />

View File

@@ -80,7 +80,7 @@ export const SessionHeaderCard: React.FC<SessionHeaderCardProps> = ({ onBack, ch
showText={false}
onClick={onBack}
iconSize="w-7 h-7"
className="text-textProminentInverse hover:text-textProminentInverse"
className="!text-textProminentInverse dark:!text-textStandardInverse"
/>
{children}
</Card>