summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2026-01-23 20:52:59 +0000
committerDavid Hill <[email protected]>2026-01-24 06:18:55 +0000
commit42a1a1202c2a605887f796476dad31d0defad0c5 (patch)
tree7529689f2ec8e9e80df5c31c1f1824e87e4643f4
parentd3490cfd29c82d6d12a9b89d5568e79e226b8e9c (diff)
downloadopencode-42a1a1202c2a605887f796476dad31d0defad0c5.tar.gz
opencode-42a1a1202c2a605887f796476dad31d0defad0c5.zip
fix(app): add transition-all to comment card hover states
-rw-r--r--packages/app/src/components/prompt-input.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx
index d64eae5f7..d4515dfc9 100644
--- a/packages/app/src/components/prompt-input.tsx
+++ b/packages/app/src/components/prompt-input.tsx
@@ -1681,7 +1681,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
return (
<div
classList={{
- "group shrink-0 flex flex-col gap-1 rounded-[6px] bg-background-stronger border border-border-base pl-2 pr-1 py-1 max-w-[200px]": true,
+ "group shrink-0 flex flex-col gap-1 rounded-[6px] bg-background-stronger border border-border-base pl-2 pr-1 py-1 max-w-[200px] transition-all": true,
"cursor-pointer hover:bg-surface-interactive-weak": !!item.commentID,
}}
onClick={() => {
@@ -1713,7 +1713,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
type="button"
icon="close-small"
variant="ghost"
- class="h-5 w-5 opacity-0 group-hover:opacity-100"
+ class="h-5 w-5 opacity-0 group-hover:opacity-100 transition-all"
onClick={(e) => {
e.stopPropagation()
if (item.commentID) comments.remove(item.path, item.commentID)