File tree Expand file tree Collapse file tree 1 file changed +30
-27
lines changed
apps/desktop/src/routes/(window-chrome)/new-main Expand file tree Collapse file tree 1 file changed +30
-27
lines changed Original file line number Diff line number Diff line change @@ -386,33 +386,36 @@ export default function TargetCard(props: TargetCardProps) {
386386 </ div >
387387 < Show when = { local . variant === "screenshot" } >
388388 < div class = "flex items-center justify-between px-2 pb-1.5 pt-0.5 gap-1" >
389- < div
390- role = "button"
391- tabIndex = { - 1 }
392- onClick = { handleOpenEditor }
393- class = "flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors"
394- title = "Editor"
395- >
396- < IconLucideEdit class = "size-3.5" />
397- </ div >
398- < div
399- role = "button"
400- tabIndex = { - 1 }
401- onClick = { handleCopy }
402- class = "flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors"
403- title = "Copy to clipboard"
404- >
405- < IconLucideCopy class = "size-3.5" />
406- </ div >
407- < div
408- role = "button"
409- tabIndex = { - 1 }
410- onClick = { handleSave }
411- class = "flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors"
412- title = "Save as..."
413- >
414- < IconLucideSave class = "size-3.5" />
415- </ div >
389+ < Tooltip content = "Edit" >
390+ < div
391+ role = "button"
392+ tabIndex = { - 1 }
393+ onClick = { handleOpenEditor }
394+ class = "flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors"
395+ >
396+ < IconLucideEdit class = "size-3.5" />
397+ </ div >
398+ </ Tooltip >
399+ < Tooltip content = "Copy to clipboard" >
400+ < div
401+ role = "button"
402+ tabIndex = { - 1 }
403+ onClick = { handleCopy }
404+ class = "flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors"
405+ >
406+ < IconLucideCopy class = "size-3.5" />
407+ </ div >
408+ </ Tooltip >
409+ < Tooltip content = "Save as..." >
410+ < div
411+ role = "button"
412+ tabIndex = { - 1 }
413+ onClick = { handleSave }
414+ class = "flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors"
415+ >
416+ < IconLucideSave class = "size-3.5" />
417+ </ div >
418+ </ Tooltip >
416419 </ div >
417420 </ Show >
418421 < Show when = { local . variant === "recording" } >
You can’t perform that action at this time.
0 commit comments