fix(a11y): the on/off switch on a Prompts row isn't nested inside another button (#32928)

This commit is contained in:
G30 authored and GitHub committed 2026-10-23 03:50:19 +09:00
1 parent 61b49c2dd7
commit 7fe27647d4
1 file changed
+3 -4
+3 -4
View File
@@ -736,10 +736,9 @@
</button>
</PromptMenu>
<button
<div
class="flex h-6 items-center"
type="button"
disabled={!prompt.write_access}
role="presentation"
on:click={(e) => {
e.stopPropagation();
e.preventDefault();
@@ -759,7 +758,7 @@
}}
/>
</Tooltip>
</button>
</div>
</div>
{/if}
</div>