Skip to content

Commit

Permalink
overflows on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed Apr 19, 2024
1 parent 6a24891 commit 6b5203f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover" class=" bg-zinc-50 dark:bg-zinc-900 overflow-hidden">
<div class="w-screen h-screen">%sveltekit.body%</div>
<div class="w-full h-full">%sveltekit.body%</div>
</body>
</html>
6 changes: 3 additions & 3 deletions src/lib/components/ChatLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
export let hideFaucet = false;
</script>

<div class="flex h-screen w-screen flex-row">
<div class="flex h-full w-full flex-row">
<!-- Icon Sidebar -->
<div class="w-12 flex-shrink-0 block bg-orange-500 dark:bg-cyan-950">
<div class="flex h-full flex-col bg-layer-2">
Expand Down Expand Up @@ -68,13 +68,13 @@
</div>

<div class="flex-1">
<div class="h-screen flex-col">
<div class="h-full flex-col">
<div class="h-5/6 bg-white dark:bg-slate-900 overflow-x-hidden overflow-y-scroll no-scrollbar"><slot /></div>
<div class="h-1/6"><slot name="input" /></div>
</div>
</div>
<div class="hidden flex-1 lg:block">
<div class="h-screen flex-col">
<div class="h-full flex-col">
<div class="h-full flex-1 bg-zinc-400 dark:bg-cyan-800"><slot name="right" /></div>
</div>
</div>
Expand Down

0 comments on commit 6b5203f

Please sign in to comment.