tweak(ui): show comment chip close on hover

This commit is contained in:
David Hill
2026-03-20 11:36:06 +00:00
parent bd332c8f0a
commit 6f5d9d427e

View File

@@ -101,7 +101,7 @@ export const PromptContextItems: Component<ContextItemsProps> = (props) => {
type="button"
icon="close-small"
variant="ghost"
class="ml-auto size-3.5 text-text-weak hover:text-text-strong transition-all"
class="ml-auto size-3.5 text-text-weak hover:text-text-strong opacity-0 pointer-events-none transition-opacity group-hover:opacity-100 group-hover:pointer-events-auto group-focus-within:opacity-100 group-focus-within:pointer-events-auto"
onClick={(e) => {
e.stopPropagation()
props.remove(row.item)