Skip to content

Commit 01f31af

Browse files
authored
Merge pull request #108 from iceljc/features/refine-chat-window
Features/refine chat window
2 parents 561cd98 + 76ea474 commit 01f31af

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

src/lib/scss/custom/components/_dropdown.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
margin: 0;
1111
position: absolute;
1212
z-index: 1000;
13+
inset: 0px auto auto 0px !important;
1314

1415
&.show {
1516
top: 100% !important;

src/lib/scss/custom/components/_gallery.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
margin-top: 3px;
66

77
.gallery-item {
8-
width: 12em;
9-
height: 12em;
8+
width: 8em;
9+
height: 8em;
1010

1111
.gallery-item-wrapper {
1212
position: relative;

src/routes/chat/[agentId]/[conversationId]/chatImage/chat-attachment.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@
3939
</script>
4040
4141
{#if displayComponents}
42-
<FileDropZone accept="image/*" disabled={disabled} on:drop={e => handleFileDrop(e)} />
42+
<FileDropZone accept="image/*" containerStyles={'width: 100%; height: fit-content; min-height: 8rem;'} disabled={disabled} on:drop={e => handleFileDrop(e)} />
4343
<FileGallery files={files} disabled={disabled} onDelete={deleteFile} />
4444
{/if}

src/routes/page/agent/[agentId]/agent-routing.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
{#each agent.routing_rules as rule, idx (idx)}
2222
<div class="routing-rule-container">
23-
<CollapsibleCard>
23+
<CollapsibleCard open={idx === 0}>
2424
<div slot='header'>
2525
<h5 class="rule-header">{`Rule #${idx + 1}`}</h5>
2626
</div>

0 commit comments

Comments
 (0)