Skip to content

Commit

Permalink
💄 Fix overflow-x
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpiac committed Oct 30, 2023
1 parent 10968f8 commit bd5146b
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { getAgentById } from "$lib/stores/agent";
import type { ChatMessageFormat } from "$lib/stores/chat";
import TypingLoader from "$lib/components/chat/chat-message/TypingLoader.svelte";
import type { MessageAttachmentWrapper } from "$lib/entities/message/message";
import type { MessageAttachmentWrapper } from "$lib/entities/message/message";
import MarkdownRenderer from "$lib/components/markdown/markdown-renderer.svelte";
import Attachment from "./Attachment.svelte";
import Spacer from "$lib/components/common/spacer/Spacer.svelte";
Expand Down Expand Up @@ -46,7 +46,7 @@
</div>

<div>
<div class="flex flex-col flex-grow relative overflow-x-scroll">
<div class="flex flex-col flex-grow relative overflow-x-auto">
<div class="text-body-subdued dark:text-body-subdued-dark text-xs mb-3">
{time} - {agent.name}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</div>

<div>
<div class="flex flex-col flex-grow relative overflow-x-scroll">
<div class="flex flex-col flex-grow relative overflow-x-auto">
<div class="text-body-subdued dark:text-body-subdued-dark text-xs mb-3">
{time}
</div>
Expand All @@ -63,7 +63,7 @@
{/if}
</div>
</div>
<Spacer />
<Spacer />
<div class="flex items-center gap-4 flex-wrap">
{#each imageAttachements as attachment}
<Attachment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<LetterAvatar>{letter}</LetterAvatar>
</div>

<div class="flex flex-col flex-grow relative overflow-x-scroll">
<div class="flex flex-col flex-grow relative overflow-x-auto">
<div class="text-body-subdued dark:text-body-subdued-dark text-xs mb-3">
{time} - {agent.name}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<LetterAvatar>{letter}</LetterAvatar>
</div>

<div class="flex flex-col flex-grow relative overflow-x-scroll">
<div class="flex flex-col flex-grow relative overflow-x-auto">
<div class="text-body-subdued dark:text-body-subdued-dark text-xs mb-3">
{time} - {agent.name}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<LetterAvatar>{letter}</LetterAvatar>
</div>

<div class="flex flex-col flex-grow relative overflow-x-scroll">
<div class="flex flex-col flex-grow relative overflow-x-auto">
<div class="text-body-subdued dark:text-body-subdued-dark text-xs mb-3">
{time} - {agent.name}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<LetterAvatar>{letter}</LetterAvatar>
</div>

<div class="flex flex-col flex-grow relative overflow-x-scroll">
<div class="flex flex-col flex-grow relative overflow-x-auto">
<div class="text-body-subdued dark:text-body-subdued-dark text-xs mb-3">
{time} - {agent.name}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<LetterAvatar>{letter}</LetterAvatar>
</div>

<div class="flex flex-col flex-grow relative overflow-x-scroll">
<div class="flex flex-col flex-grow relative overflow-x-auto">
<div class="text-body-subdued dark:text-body-subdued-dark text-xs mb-3">
{time} - {agent.name}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
size="smaller"
on:click={$leftNavStore.toggle} />
</div>
<section class="py-5 px-3 overflow-x-scroll flex-grow">
<section class="py-5 px-3 overflow-x-auto flex-grow">
<div class="flex flex-col gap-3 antialiased">
{#each conversations as conversation}
<button
Expand Down

0 comments on commit bd5146b

Please sign in to comment.