forked from open-webui/open-webui
fix: styling
This commit is contained in:
parent
8fb5e22e43
commit
5613af032d
6 changed files with 33 additions and 12 deletions
|
@ -15,7 +15,8 @@
|
|||
chatId,
|
||||
config,
|
||||
WEBUI_NAME,
|
||||
tags as _tags
|
||||
tags as _tags,
|
||||
showSidebar
|
||||
} from '$lib/stores';
|
||||
import { copyToClipboard, splitStream } from '$lib/utils';
|
||||
|
||||
|
@ -838,7 +839,11 @@
|
|||
</title>
|
||||
</svelte:head>
|
||||
|
||||
<div class="h-screen max-h-[100dvh] w-full flex flex-col">
|
||||
<div
|
||||
class="min-h-screen max-h-screen {$showSidebar
|
||||
? 'lg:max-w-[calc(100%-260px)]'
|
||||
: ''} w-full max-w-full flex flex-col"
|
||||
>
|
||||
<Navbar
|
||||
{title}
|
||||
bind:selectedModels
|
||||
|
@ -849,7 +854,7 @@
|
|||
/>
|
||||
<div class="flex flex-col flex-auto">
|
||||
<div
|
||||
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0"
|
||||
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0 max-w-full"
|
||||
id="messages-container"
|
||||
bind:this={messagesContainerElement}
|
||||
on:scroll={(e) => {
|
||||
|
|
|
@ -859,8 +859,8 @@
|
|||
{#if loaded}
|
||||
<div
|
||||
class="min-h-screen max-h-screen {$showSidebar
|
||||
? ' lg:max-w-[calc(100%-260px)]'
|
||||
: ''} max-w-full flex flex-col"
|
||||
? 'lg:max-w-[calc(100%-260px)]'
|
||||
: ''} w-full max-w-full flex flex-col"
|
||||
>
|
||||
<Navbar
|
||||
{title}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue