Skip to content

Commit 0610d2e

Browse files
Copilotpikann
andauthored
fix: ensure delete action is visible on keyboard focus
Agent-Logs-Url: https://github.com/Paca-AI/paca-plugin-bdd/sessions/6e75eed2-7e3b-4835-bbfd-c983d70b3e9b Co-authored-by: pikann <41873019+pikann@users.noreply.github.com>
1 parent f435725 commit 0610d2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/BDDScenariosSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function ScenarioCard({
215215
deleteMut.mutate();
216216
}}
217217
disabled={deleteMut.isPending}
218-
className="ml-1 shrink-0 rounded-md p-1 text-muted-foreground/50 opacity-0 group-hover/scenario:opacity-100 group-focus-within/scenario:opacity-100 hover:text-destructive hover:bg-destructive/5 transition-colors duration-150"
218+
className="ml-1 shrink-0 rounded-md p-1 text-muted-foreground/50 opacity-0 group-hover/scenario:opacity-100 group-focus-within/scenario:opacity-100 focus-visible:opacity-100 hover:text-destructive hover:bg-destructive/5 transition-colors duration-150"
219219
aria-label="Delete scenario"
220220
>
221221
<Trash2 className="size-3.5" />

0 commit comments

Comments
 (0)