Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/lib/common/modals/DialogModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
sm: 'max-w-sm',
md: 'max-w-md',
lg: 'max-w-lg',
xl: 'max-w-xl'
xl: 'max-w-xl',
'2xl': 'max-w-2xl',
'3xl': 'max-w-3xl',
'4xl': 'max-w-4xl',
'5xl': 'max-w-5xl'
};
/** @param {any} e */
Expand Down Expand Up @@ -56,7 +60,7 @@
<!-- svelte-ignore a11y_no_static_element_interactions -->
<!-- svelte-ignore a11y_click_events_have_key_events -->
<div
class="fixed inset-0 z-[9999] flex items-start justify-center pt-[10vh] bg-black/50"
class="fixed inset-0 z-[9999] flex items-start justify-center pt-[2%] bg-black/50"
transition:fade={{ duration: 150 }}
onclick={handleBackdropClick}
>
Expand Down
10 changes: 7 additions & 3 deletions src/lib/common/modals/PlainModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

let {
isOpen = false,
size = 'lg',
size = 'xl',
title = '',
containerClasses = '',
containerStyles = '',
Expand All @@ -17,7 +17,11 @@
sm: 'max-w-sm',
md: 'max-w-md',
lg: 'max-w-lg',
xl: 'max-w-xl'
xl: 'max-w-xl',
'2xl': 'max-w-2xl',
'3xl': 'max-w-3xl',
'4xl': 'max-w-4xl',
'5xl': 'max-w-5xl'
};

/** @param {MouseEvent} e */
Expand All @@ -32,7 +36,7 @@
<!-- svelte-ignore a11y_no_static_element_interactions -->
<!-- svelte-ignore a11y_click_events_have_key_events -->
<div
class={`fixed inset-0 z-[9999] flex items-start justify-center pt-[10vh] bg-black/50 ${containerClasses}`}
class={`fixed inset-0 z-[9999] flex items-start justify-center pt-[2%] bg-black/50 ${containerClasses}`}
transition:fade={{ duration: 150 }}
onclick={handleBackdropClick}
>
Expand Down
8 changes: 6 additions & 2 deletions src/lib/common/modals/StateModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
sm: 'max-w-sm',
md: 'max-w-md',
lg: 'max-w-lg',
xl: 'max-w-xl'
xl: 'max-w-xl',
'2xl': 'max-w-2xl',
'3xl': 'max-w-3xl',
'4xl': 'max-w-4xl',
'5xl': 'max-w-5xl'
};

/** @type {import('$conversationTypes').UserStateDetailModel} */
Expand Down Expand Up @@ -153,7 +157,7 @@
<!-- svelte-ignore a11y_no_static_element_interactions -->
<!-- svelte-ignore a11y_click_events_have_key_events -->
<div
class="fixed inset-0 z-[9999] flex items-start justify-center pt-[10vh] bg-black/50"
class="fixed inset-0 z-[9999] flex items-start justify-center pt-[2%] bg-black/50"
transition:fade={{ duration: 150 }}
onclick={handleBackdropClick}
>
Expand Down
5 changes: 3 additions & 2 deletions src/routes/chat/[agentId]/[conversationId]/chat-box.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,7 @@

<DialogModal
title={'Edit user message'}
size={'md'}
size={'xl'}
isOpen={isOpenEditMsgModal}
toggleModal={() => toggleEditMsgModal()}
confirm={() => confirmEditMsg()}
Expand All @@ -1706,7 +1706,7 @@

<DialogModal
title={'Send message'}
size={'xl'}
size={'5xl'}
isOpen={isOpenBigMsgModal}
toggleModal={() => toggleBigMessageModal()}
confirm={() => sendBigMessage()}
Expand Down Expand Up @@ -1761,6 +1761,7 @@

<StateModal
isOpen={isOpenUserAddStateModal}
size={'2xl'}
bind:states={userAddStates}
requireActiveRounds
toggleModal={() => toggleUserAddStateModal()}
Expand Down
Loading