mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
fix(frontend): reveal transcript actions on focus and bound the shell preview
- expose the user message action buttons to keyboard focus, not just hover - compute the shell preview tail once per output change and clamp very long lines
This commit is contained in:
1 parent
d8495df811
commit
c4bb104cc0
2 files changed
+8
-4
No files matched your search
@@ -34,7 +34,7 @@ export const UserMessageActionButtons = memo(function UserMessageActionButtons({
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={`flex items-center gap-1 ${isMobile ? 'opacity-100' : 'opacity-0 group-hover:opacity-100'} transition-opacity`}>
|
||||
<div className={`flex items-center gap-1 ${isMobile ? 'opacity-100' : 'opacity-0 group-hover:opacity-100 group-focus-within:opacity-100'} transition-opacity`}>
|
||||
<button
|
||||
onClick={handleUndo}
|
||||
disabled={undoMessage.isPending}
|
||||
|
||||
Reference in new issue
Block a user