mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-29 06:32:52 +00:00
fix(a11y): the Create knowledge base, Create Prompt and Clone Prompt dialogs have names (#33119)
This commit is contained in:
parent
3cd25f7717
commit
331b38f875
2 changed files with 2 additions and 1 deletions
|
|
@ -321,7 +321,7 @@
|
|||
}}
|
||||
/>
|
||||
|
||||
<Modal bind:show={showCreateModal} size="md">
|
||||
<Modal bind:show={showCreateModal} size="md" ariaLabel={$i18n.t('Create a knowledge base')}>
|
||||
<CreateKnowledgeBase
|
||||
modal={true}
|
||||
onBack={() => {
|
||||
|
|
|
|||
|
|
@ -409,6 +409,7 @@
|
|||
<Modal
|
||||
bind:show={showCreateModal}
|
||||
size="full"
|
||||
ariaLabel={createPrompt !== null ? $i18n.t('Clone Prompt') : $i18n.t('Create Prompt')}
|
||||
className="!w-[calc(100vw-2rem)] sm:!w-[calc(100vw-3rem)] lg:!w-[calc(100vw-4rem)] !max-w-[80rem] h-[min(54rem,calc(100dvh-4rem))] max-h-[calc(100dvh-4rem)] flex flex-col bg-white dark:bg-gray-900 rounded-4xl"
|
||||
>
|
||||
{#key createPrompt}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue