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

This commit is contained in:
G30 2026-10-22 14:50:19 -04:00 • committed by GitHub
parent 61b49c2dd7
commit 7fe27647d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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>